]> bbs.cooldavid.org Git - net-next-2.6.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)
commit949ad0a783729ad8c2e8e5bcbbad5d05a60de616
tree8fe9937ab4df880e276be4b6eb64c627b54deb0e
parentcfa6a88c83f639f17b96a34dc0bf93faf432e73a
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