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)
commit08905d8ab4d4a264c5a700b04b9cbafe4f381037
tree46ebc826545feba502b268c3f09a94bbf79497e1
parent58db1dcde0dcf5143dc6a54017e4a72c25fb8db0
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