]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: pcm: remove runtime PM calls during pcm open/close
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Thu, 9 May 2019 20:10:24 +0000 (15:10 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 13 May 2019 11:42:41 +0000 (12:42 +0100)
commit3fc8721a6d906973830eb49d6f2f881120f9f006
treea2f46b6a6d7979ce09d2585c46a04ca4aaee46a6
parentbdad986b21a418e09a0ce38df4e4e6587f2b8424
ASoC: SOF: pcm: remove runtime PM calls during pcm open/close

pm_runtime_get_sync()/pm_runtime_put_autosuspend() calls are
already invoked by the ASoC core in soc_pcm_open() and
soc_pcm_close(). So the SOF component driver does not need
to call them again.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/pcm.c