From: Hui Wang Date: Tue, 14 Jan 2014 06:07:36 +0000 (+0800) Subject: ALSA: hda - automute via amp instead of pinctl on some AIO models X-Git-Tag: v3.14-rc1~143^2~1^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=493a52a9b6645f61954580c7d4bd52fa62110934;p=pandora-kernel.git ALSA: hda - automute via amp instead of pinctl on some AIO models On some AIO (All In One) models with the codec alc668 (Vendor ID: 0x10ec0668) on it, when we plug a headphone into the jack, the system will switch the output to headphone and set the speaker to automute as well as change the speaker Pin-ctls from 0x40 to 0x00, this will bring loud noise to the headphone. I tried to disable the corresponding EAPD, but it did not help to eliminate the noise. According to Takashi's suggestion, we use amp operation to replace the pinctl modification for the automute, this really eliminate the noise. BugLink: https://bugs.launchpad.net/bugs/1268468 Cc: David Henningsson Cc: stable@vger.kernel.org Signed-off-by: Hui Wang Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed