On Tue, 2015-05-05 at 17:01 +0200, David Henningsson wrote: > In case the same jack causes one port to become available and another > one unavailable, the available should be reported first. > > This is to avoid unnecessary changes: e g, consider a 'Headphone Jack' > making 'Headphone' available and 'Speaker' unavailable. In case the > unavailable change triggers first, and there is also a currently available > third port (e g 'Digital out'), the routing system might choose to route > to this port because neither of the 'Speaker' and 'Headphone' ports are > available. > > Signed-off-by: David Henningsson <david.henningsson at canonical.com> > --- > Â src/modules/alsa/module-alsa-card.c | 36 ++++++++++++++++++++++++++++-------- > Â 1 file changed, 28 insertions(+), 8 deletions(-) I pushed this, since this is useful independently of the other patches. --Â Tanu