]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fixes inverted Conexant GPIO mic mute led
authorJeronimo Borque <jeronimo@borque.com.ar>
Mon, 19 Aug 2019 01:35:38 +0000 (22:35 -0300)
committerTakashi Iwai <tiwai@suse.de>
Mon, 19 Aug 2019 17:41:26 +0000 (19:41 +0200)
commitfc503b000e525945853adba14929c6d1a3b5e672
tree76111c7e076b6a6ac7b06766850a22270392b629
parent4e20c37bdb4e37b3387edb4e755cf30b45404c87
ALSA: hda - Fixes inverted Conexant GPIO mic mute led

"enabled" parameter historically referred to the device input or
output, not to the led indicator. After the changes added with the led
helper functions the mic mute led logic refers to the led and not to
the mic input which caused led indicator to be negated.
Fixing logic in cxt_update_gpio_led and updated
cxt_fixup_gpio_mute_hook
Also updated debug messages to ease further debugging if necessary.

Fixes: e3c071757a01 ("ALSA: hda/conexant - Use the mic-mute LED helper")
Suggested-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jeronimo Borque <jeronimo@borque.com.ar>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_conexant.c