summaryrefslogtreecommitdiffstats
path: root/sound/usb/card.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2010-09-07 13:38:49 +0200
committerTakashi Iwai <tiwai@suse.de>2010-09-08 08:26:15 +0200
commitfe6ce80ae25953d95ebaf9bce27b585218cda25c (patch)
tree89857c2174ec46f6c5eff8c4c81f09a554ae3836 /sound/usb/card.c
parent4c25b93223340deff73381cc47f9244fb379a74d (diff)
downloadlinux-stable-fe6ce80ae25953d95ebaf9bce27b585218cda25c.tar.gz
linux-stable-fe6ce80ae25953d95ebaf9bce27b585218cda25c.tar.bz2
linux-stable-fe6ce80ae25953d95ebaf9bce27b585218cda25c.zip
ALSA: virtuoso: fix setting of Xonar DS line-in/mic-in controls
The Line and Mic inputs cannot be used at the same time, so the driver has to automatically disable one of them if both are set. However, it forgot to notify userspace about this change, so the mixer state would be inconsistent. To fix this, check if the other control gets muted, and send a notification event in this case. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Reported-and-tested-by: Nathan Schagen Cc: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/card.c')
0 files changed, 0 insertions, 0 deletions