]> git.openfabrics.org - ~emulex/infiniband.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)
commite386615c01d37145aa27fd06d1f8de26f1acbb7f
tree8243ee27e3d3da22ce796210425102b25352ff6c
parent08905d8ab4d4a264c5a700b04b9cbafe4f381037
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