ASoC: SOF: Activate runtime PM with SOF OF device
authorDaniel Baluta <daniel.baluta@nxp.com>
Thu, 24 Sep 2020 15:15:17 +0000 (18:15 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 25 Sep 2020 17:53:11 +0000 (18:53 +0100)
commit4fefc39894d8975d58b02b4b5f635d20891778ca
tree894b289af0bad3b4435fbd60253fc9901a25fd46
parentbbd59df075ab793c98ff7f95dc1f05895f6a6bc9
ASoC: SOF: Activate runtime PM with SOF OF device

SOF boots the DSP at probe and keeps it up all the time.
With this change, after booting if no one is using the DSP
the SOF core will turn off the DSP to save power.

Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Paul Olaru <paul.olaru@nxp.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Link: https://lore.kernel.org/r/20200924151518.15841-2-daniel.baluta@oss.nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/sof-of-dev.c