summaryrefslogtreecommitdiff
path: root/lib/random32.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2010-09-07 15:38:49 +0400
committerTakashi Iwai <tiwai@suse.de>2010-09-08 10:26:15 +0400
commitfe6ce80ae25953d95ebaf9bce27b585218cda25c (patch)
tree89857c2174ec46f6c5eff8c4c81f09a554ae3836 /lib/random32.c
parent4c25b93223340deff73381cc47f9244fb379a74d (diff)
downloadlinux-fe6ce80ae25953d95ebaf9bce27b585218cda25c.tar.xz
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 'lib/random32.c')
0 files changed, 0 insertions, 0 deletions