summaryrefslogtreecommitdiffstats
path: root/sound/soc/sof/intel/hda.h
diff options
context:
space:
mode:
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>2021-11-25 12:15:12 +0200
committerMark Brown <broonie@kernel.org>2021-11-26 13:24:17 +0000
commit2b1acedccf36434924ae530410e008e7eb427cd3 (patch)
tree66c0f0e7564afbcee597534cf61c4b32c94bee19 /sound/soc/sof/intel/hda.h
parente14cddc5888418cc9f2ba66c01a04cdbab3b5b25 (diff)
downloadlinux-stable-2b1acedccf36434924ae530410e008e7eb427cd3.tar.gz
linux-stable-2b1acedccf36434924ae530410e008e7eb427cd3.tar.bz2
linux-stable-2b1acedccf36434924ae530410e008e7eb427cd3.zip
ASoC: SOF: Intel: hda: Add a helper function for stream reset
Add a helper function to perform stream reset. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Link: https://lore.kernel.org/r/20211125101520.291581-3-kai.vehmanen@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/intel/hda.h')
-rw-r--r--sound/soc/sof/intel/hda.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/sof/intel/hda.h b/sound/soc/sof/intel/hda.h
index 8ed4031ca007..60139ea9b8de 100644
--- a/sound/soc/sof/intel/hda.h
+++ b/sound/soc/sof/intel/hda.h
@@ -487,6 +487,8 @@ struct sof_intel_hda_stream {
(SOF_HDA_ADSP_SD_ENTRY_SIZE * ((s)->index) \
+ SOF_HDA_ADSP_LOADER_BASE)
+#define SOF_STREAM_SD_OFFSET_CRST 0x1
+
/*
* DSP Core services.
*/