]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: core: move check for runtime callbacks to core
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Wed, 4 Dec 2019 21:15:49 +0000 (15:15 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 9 Dec 2019 18:38:20 +0000 (18:38 +0000)
commitb0bbc1d4f412704bc47baba933b1f447a3de5d3b
treece11b3b77daecdbdba36e6d5c6dd0023a3843e79
parentf22d73b9711744227b8614899c74930095a4b6dd
ASoC: SOF: core: move check for runtime callbacks to core

For some platforms, the refcount is explicitly incremented
to prevent it from entering runtime suspend. This
should be be done during probe in the core instead
of being done in the PCM driver.

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