]> git.baikalelectronics.ru Git - kernel.git/commit
sound/soc: mpc5200_psc_ac97: Use gpio pins for cold reset
authorEric Millbrandt <emillbrandt@dekaresearch.com>
Sat, 7 Aug 2010 02:49:19 +0000 (20:49 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 7 Aug 2010 02:49:19 +0000 (20:49 -0600)
commit1ce28a23d25eb916b89756e0828db739bc3e2f18
tree8fe9937ab4df880e276be4b6eb64c627b54deb0e
parentd47ca5711856ff27ad6eea36f91915faeaf0b033
sound/soc: mpc5200_psc_ac97: Use gpio pins for cold reset

Call the gpio reset platform function instead of using the flawed
ac97 functionality of the MPC5200(b)

From MPC5200B User's Manual:
"Some AC97 devices goes to a test mode, if the Sync line is high
during the Res line is low (reset phase). To avoid this behavior the
Sync line must be also forced to zero during the reset phase. To do
that, the pin muxing should switch to GPIO mode and the GPIO control
register should be used to control the output lines."

Signed-off-by: Eric Millbrandt <emillbrandt@dekaresearch.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
sound/soc/fsl/mpc5200_psc_ac97.c