]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: OMAP: Fix setup of XCCR and RCCR registers in McBSP DAI
authorJarkko Nikula <jhnikula@gmail.com>
Sun, 23 Aug 2009 09:24:26 +0000 (12:24 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 25 Aug 2009 09:20:48 +0000 (10:20 +0100)
commit37ad189b5580e45b6befaf3b918904dc0b6cb6aa
tree8022b8c7cdd0e2efc9f73e5f913cdd913078bd27
parent7b529d258f172f03344a84b79a5540e5d42c661b
ASoC: OMAP: Fix setup of XCCR and RCCR registers in McBSP DAI

Commit 15269f8b048c8a63b37a894d1af8450703b1589f is setting up few XCCR and
RCCR bits for I2S and DPS_A formats. Part of the bits are already set
for all formats and I believe that XDISABLE and RDISABLE bits are
format independent.

As XCCR and RCCR are found only from OMAP2430 and OMAP34xx, I move setup
of XDISABLE and RDISABLE to where those cpu's are tested and remove format
dependent part for simplicity.

Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Eero Nurkkala <ext-eero.nurkkala@nokia.com>
Cc: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/omap/omap-mcbsp.c