]> 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)
commit412040d9511511ef249dc3b2505149df0c3e5cdc
tree46ebc826545feba502b268c3f09a94bbf79497e1
parent8aab0a09741f2698ae1372778224f0628b791cbf
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