]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: omap-mcbsp: Configure wakeup in later phase
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 5 Mar 2012 09:27:40 +0000 (11:27 +0200)
committerLiam Girdwood <lrg@ti.com>
Mon, 12 Mar 2012 13:34:23 +0000 (13:34 +0000)
commit619d45f7624d45fa2a721c484b6a7ead9e55a9dd
tree46ebc826545feba502b268c3f09a94bbf79497e1
parent4a6f506132c1bb3f413658139762c23171a3e17b
ASoC: omap-mcbsp: Configure wakeup in later phase

Configure the WAKEUPEN register at the same time we configure the rest of
the McBSP registers.
In case of OMAP3+, if the sysclock has been reconfigured we are going to
disable McBSP for the duration of the clock change, which will reset the
McBSP registers. The WAKEUPEN register need to be configured later, so
the changes will be effective during runtime.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicrocom>
Signed-off-by: Liam Girdwood <lrg@ti.com>
sound/soc/omap/mcbsp.c