aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-01-30 17:59:02 +0100
committerJiri Slaby <jslaby@suse.cz>2014-04-01 22:12:08 +0200
commit4c74007da904cc0411d788200034b2fb4c9e0d01 (patch)
tree5fb1326ce415b66e150d6e5707505e7aa67ac072 /Documentation
parentacbf4c08b347d3a405319212aa6c9f85ea3edfab (diff)
ALSA: hda - Fix inconsistent Mic mute LED
commit 7fe307117db5bd7ec6efb93c563dcf44577b6d2b upstream. The current code for controlling mic mute LED in patch_sigmatel.c blindly assumes that there is a single capture switch. But, there can be multiple multiple ones, and each of them flips the state, ended up in an inconsistent state. For fixing this problem, this patch adds kcontrol to be passed to the hook function so that the callee can check which switch is being accessed. In stac_capture_led_hook(), the state is checked as a bitmask, and turns on the LED when all capture switches are off. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions