]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - automute via amp instead of pinctl on some AIO models
authorHui Wang <hui.wang@canonical.com>
Tue, 14 Jan 2014 06:07:36 +0000 (14:07 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 14 Jan 2014 09:42:29 +0000 (10:42 +0100)
commitd8cf7e03651159d6af7dbfb6e7fd17f12aa5222a
treeceda9a03afdc3de188a3ed5194fc056daf28e94f
parent1c03cc6fba05c7c364348f83ff0a0e60465c72f5
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 <david.henningsson@canonical.com>
Cc: stable@vger.kernel.org
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c