]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfc7bb04137b561d4b9d7a73206004a510b6fea8b
tree53c467df9d3f311165ae1683bf0f8840c3a5a1e9
parent9b102236eca8eade536b4c80f1d01d8fe30c259f
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