]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: omap-mcbsp: When closing the port select PRCM source for CLKS signal
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 5 Mar 2012 09:32:27 +0000 (11:32 +0200)
committerLiam Girdwood <lrg@ti.com>
Mon, 12 Mar 2012 13:34:23 +0000 (13:34 +0000)
commite1be4508f4648a43a7be9c7ec37e75f04bf0caf0
tree8243ee27e3d3da22ce796210425102b25352ff6c
parent412040d9511511ef249dc3b2505149df0c3e5cdc
ASoC: omap-mcbsp: When closing the port select PRCM source for CLKS signal

If external source for the CLKS signal selection kept after the port is no
longer in use the system might refuse to go suspend.
There is also a chance that the external clock is not running when next
time the McBSP port is started which can result errors when we try to
access McBSP registers.
Reset the CLKS source back to PRCM source unconditionally.

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