]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda: Correct EAPD for Dell Inspiron 1525
authorChengu Wang <wangchengu@gmail.com>
Thu, 30 Jul 2009 11:43:55 +0000 (19:43 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 3 Aug 2009 06:30:56 +0000 (08:30 +0200)
commit0028950212dac4fff011157025b861f202bbc02d
tree0e2ddcea0e4c03213852d80948055e60d058fe8b
parentb854581f0a4490d13836f8f61901c2e934dd8db6
ALSA: hda: Correct EAPD for Dell Inspiron 1525

The commit 0592faa128af9d904397a7fd022d1e06694136be statically changes
the model from dell-bios to dell-3stack to solve the sound decreasing
regression (http://lkml.org/lkml/2008/9/12/203), however it leads to another
problem that the 2nd headphone jack doesn't work
(https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3987). So I think
the commit 249**2dc is just a workaround. I would like to give a true solution
here.

The datasheet for STAC9228 says, GPIO2 is the same pin as VOL DOWN, and
the EAPD pin is GPIO0. This is why the sound decreases if we set EAPD as
GPIO2. This patch changes EAPD to GPIO0 to solve the problem.

Signed-off-by: Chengu Wang <wangchengu@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_sigmatel.c