]> git.kernelconcepts.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Apr 2016 16:08:53 +0000 (09:08 -0700)
commit1dac534145d0f84b3fcadf5b69d8de3ad147f471
treed5f4017cb0bc9f421c34cba574a95568fdf08023
parentdb894649e34abceade484c35e5acd346e74e916d
ALSA: hda - Fix unconditional GPIO toggle via automute

commit 1f7c6658962fa1260c1658d681bd6bb0c746b99a upstream.

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
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_cirrus.c