ASoC: davinci-mcasp: Allow complete shutdown of McASP when not in use
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 5 Mar 2015 14:55:21 +0000 (16:55 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 5 Mar 2015 16:41:25 +0000 (16:41 +0000)
commit6afda7f5075440f6737d953ab00fc82efb6cabae
tree53c467df9d3f311165ae1683bf0f8840c3a5a1e9
parent4da4608c91308d0d15dd022074724446c15710dc
ASoC: davinci-mcasp: Allow complete shutdown of McASP when not in use

Rearrange the pm_runtime_get/put_sync calls so the IP will be turned off
when it is not in use.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/davinci/davinci-mcasp.c