]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix unconditional GPIO toggle via automute
authorTakashi Iwai <tiwai@suse.de>
Tue, 15 Mar 2016 15:44:55 +0000 (16:44 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 15 Mar 2016 15:44:55 +0000 (16:44 +0100)
commitd09d9869936a6e7c2cc878d3323f5f05b89e60d8
treee2dffedfd935bc10b65c3e09718ae420bb2b620f
parent1f84dec33fe7917e97434180ff003663294e3dca
ALSA: hda - Fix unconditional GPIO toggle via automute

Cirrus HD-audio driver may adjust GPIO pins for EAPD dynamically
depending on the jack plug state.  This works fine for the auto-mute
mode where the speaker gets muted upon the HP jack plug.   OTOH, when
the auto-mute mode is off, this turns off the EAPD unexpectedly
depending on the jack state, which results in the silent speaker
output.

This patch fixes the silent speaker output issue by setting GPIO bits
constantly when the auto-mute mode is off.

Reported-and-tested-by: moosotc@gmail.com
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_cirrus.c