OSDN Git Service

ASoC: SOF: add a field to store the current D0 substate of DSP
authorKeyon Jie <yang.jie@linux.intel.com>
Fri, 25 Oct 2019 22:40:57 +0000 (17:40 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 28 Oct 2019 14:39:34 +0000 (14:39 +0000)
commit4c19030c511fd6eab029bae838f736256d2f43cd
treee94d2d22b306b41951095e63e5d45957e9b4e875
parent5db8617ba7e8fcda1c5dd310c62ac8d31eaf9eae
ASoC: SOF: add a field to store the current D0 substate of DSP

Add field d0_substate to struct snd_sof_dev to store the current DSP
D0 sub-state(only meaningful when DSP in D0), which could be D0I0 or
D0I3.

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20191025224122.7718-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/sof-priv.h