aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/zylonite_pxa320.c
diff options
context:
space:
mode:
authorEric Miao <eric.miao@marvell.com>2009-04-22 18:34:36 +0800
committerEric Miao <eric.miao@marvell.com>2009-04-27 11:46:30 +0800
commit15fbc938576175eeb53798221f045d4ace52e5dc (patch)
tree3a5f6a0b6ac14add95641aabe7121de30bfd4b19 /arch/arm/mach-pxa/zylonite_pxa320.c
parent[ARM] pxa: make ads7846 on corgi and spitz to sync on HSYNC (diff)
downloadlinux-dev-15fbc938576175eeb53798221f045d4ace52e5dc.tar.xz
linux-dev-15fbc938576175eeb53798221f045d4ace52e5dc.zip
[ARM] pxa/zylonite: fix the issue of unused SDATA_IN_1 pin get AC97 not working
GPIO17_SDATA_IN_1 and GPIO36_SDATA_IN_1 are originally designed for the 2nd codec but unused on the board, yet they are initialized incorrectly by the bootloader as the SDATA_IN_1 alternate function, thus causing AC97 fail to work. Fix this issue by configuring these pins as normal GPIO to avoid the noise from these pins being treated as signals from the 2nd codec. Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'arch/arm/mach-pxa/zylonite_pxa320.c')
-rw-r--r--arch/arm/mach-pxa/zylonite_pxa320.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/zylonite_pxa320.c b/arch/arm/mach-pxa/zylonite_pxa320.c
index 4e1c488c6906..cc5a22833605 100644
--- a/arch/arm/mach-pxa/zylonite_pxa320.c
+++ b/arch/arm/mach-pxa/zylonite_pxa320.c
@@ -68,6 +68,7 @@ static mfp_cfg_t mfp_cfg[] __initdata = {
GPIO38_AC97_SYNC,
GPIO39_AC97_BITCLK,
GPIO40_AC97_nACRESET,
+ GPIO36_GPIO, /* SDATA_IN_1 but unused - configure to GPIO */
/* SSP3 */
GPIO89_SSP3_SCLK,