diff options
author | Eric Miao <eric.miao@marvell.com> | 2009-04-22 06:34:36 -0400 |
---|---|---|
committer | Eric Miao <eric.miao@marvell.com> | 2009-04-26 23:46:30 -0400 |
commit | 15fbc938576175eeb53798221f045d4ace52e5dc (patch) | |
tree | 3a5f6a0b6ac14add95641aabe7121de30bfd4b19 /arch/arm/mach-pxa/zylonite_pxa300.c | |
parent | 3e36c0deea118e277f4ff9fa947bcde5f88426ca (diff) |
[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_pxa300.c')
-rw-r--r-- | arch/arm/mach-pxa/zylonite_pxa300.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/zylonite_pxa300.c b/arch/arm/mach-pxa/zylonite_pxa300.c index c1f73205d078..e99555b76a08 100644 --- a/arch/arm/mach-pxa/zylonite_pxa300.c +++ b/arch/arm/mach-pxa/zylonite_pxa300.c | |||
@@ -72,6 +72,7 @@ static mfp_cfg_t common_mfp_cfg[] __initdata = { | |||
72 | GPIO25_AC97_SDATA_IN_0, | 72 | GPIO25_AC97_SDATA_IN_0, |
73 | GPIO27_AC97_SDATA_OUT, | 73 | GPIO27_AC97_SDATA_OUT, |
74 | GPIO28_AC97_SYNC, | 74 | GPIO28_AC97_SYNC, |
75 | GPIO17_GPIO, /* SDATA_IN_1 but unused - configure to GPIO */ | ||
75 | 76 | ||
76 | /* SSP3 */ | 77 | /* SSP3 */ |
77 | GPIO91_SSP3_SCLK, | 78 | GPIO91_SSP3_SCLK, |