]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Intel: implement runtime idle for CNL/APL
authorKai Vehmanen <kai.vehmanen@linux.intel.com>
Tue, 2 Jul 2019 13:24:28 +0000 (16:24 +0300)
committerMark Brown <broonie@kernel.org>
Sat, 6 Jul 2019 11:23:47 +0000 (12:23 +0100)
commitbebf14158fdc52f93bb8f6582b2bb27aed05d9dd
treed1978ec7aeea8a8d5f97e0655c1c57d8960f992a
parent38c209fee4d58692c94657b77bdbdc5604e15a5f
ASoC: SOF: Intel: implement runtime idle for CNL/APL

Implement runtime idle for CNL/APL devices using similar runtime
PM idle logic as the Intel AZX HDA driver. If any HDA codecs are
powered when runtime suspend request comes, return -EBUSY. By doing
this, strict ordering is enforced between HDA codec and the HDA
controller.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20190702132428.13129-4-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/apl.c
sound/soc/sof/intel/cnl.c
sound/soc/sof/intel/hda-dsp.c