]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] pxa/zylonite: fix the issue of unused SDATA_IN_1 pin get AC97 not working
authorEric Miao <eric.miao@marvell.com>
Wed, 22 Apr 2009 10:34:36 +0000 (18:34 +0800)
committerEric Miao <eric.miao@marvell.com>
Mon, 27 Apr 2009 03:46:30 +0000 (11:46 +0800)
commitc1a6fbab9edaed38c86d9295756daa70c8c9d5d3
tree3a5f6a0b6ac14add95641aabe7121de30bfd4b19
parent609386f0e55f28635e04835e3ae85fe07aeba5c3
[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>
arch/arm/mach-pxa/zylonite_pxa300.c
arch/arm/mach-pxa/zylonite_pxa320.c