diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2022-02-10 17:05:18 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-02-10 15:19:01 +0000 |
commit | 5fdc1242453e2ae88b2cdb607e4eda6b687f084c (patch) | |
tree | 38bfe30f861ff8b1a715ad58c8f90d72bb32a307 /include/sound/sof.h | |
parent | 2439a35508277922ea116c99ff4d4a32c607464c (diff) | |
download | linux-5fdc1242453e2ae88b2cdb607e4eda6b687f084c.tar.bz2 |
ASoC: SOF: Move the definition of enum sof_dsp_power_states to global header
Move the enum sof_dsp_power_states to include/sound/sof.h
to be accessible outside of the core SOF stack.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20220210150525.30756-3-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/sof.h')
-rw-r--r-- | include/sound/sof.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sound/sof.h b/include/sound/sof.h index 813680ab9aad..7cdfc954df12 100644 --- a/include/sound/sof.h +++ b/include/sound/sof.h @@ -39,6 +39,14 @@ enum sof_fw_state { SOF_FW_CRASHED, }; +/* DSP power states */ +enum sof_dsp_power_states { + SOF_DSP_PM_D0, + SOF_DSP_PM_D1, + SOF_DSP_PM_D2, + SOF_DSP_PM_D3, +}; + /* * SOF Platform data. */ |