At Sat, 1 Aug 2009 19:11:17 +0800, Chengu Wang wrote:
From 3dfb54666d0940bff474be9db791603f81c46303 Mon Sep 17 00:00:00 2001
From: Chengu Wang wangchengu@gmail.com Date: Thu, 30 Jul 2009 19:43:55 +0800 Subject: [PATCH] [ALSA] hda: Correct EAPD for Dell Inspiron 1525
The commit 24918b61b55c21e09a3e07cd82e1b3a8154782dc 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
Applied now. Thanks.
Takashi