summaryrefslogtreecommitdiff
path: root/sound/soc/intel/common/sst-dsp.h
diff options
context:
space:
mode:
authorSubhransu S. Prusty <subhransu.s.prusty@intel.com>2015-07-09 19:08:52 +0300
committerMark Brown <broonie@kernel.org>2015-07-09 20:33:23 +0300
commit7a2c52b61fd71eddda3385006962630444d15b9e (patch)
tree8a03d624e89990a9d595896b1687a9a56cd20b50 /sound/soc/intel/common/sst-dsp.h
parent0505700104cd98da6d11c01b8063cffdb1b8d7d7 (diff)
downloadlinux-7a2c52b61fd71eddda3385006962630444d15b9e.tar.xz
ASoC: Intel: Add helper to poll register for DSP status
This patch adds helper to poll register for DSP status. Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com> Signed-off-by: Kp, Jeeja <jeeja.kp@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/common/sst-dsp.h')
-rw-r--r--sound/soc/intel/common/sst-dsp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/intel/common/sst-dsp.h b/sound/soc/intel/common/sst-dsp.h
index 96aeb2556ad4..cc3197be4cf7 100644
--- a/sound/soc/intel/common/sst-dsp.h
+++ b/sound/soc/intel/common/sst-dsp.h
@@ -278,6 +278,8 @@ void sst_dsp_inbox_read(struct sst_dsp *dsp, void *message, size_t bytes);
void sst_dsp_outbox_write(struct sst_dsp *dsp, void *message, size_t bytes);
void sst_dsp_outbox_read(struct sst_dsp *dsp, void *message, size_t bytes);
void sst_dsp_mailbox_dump(struct sst_dsp *dsp, size_t bytes);
+int sst_dsp_register_poll(struct sst_dsp *dsp, u32 offset, u32 mask,
+ u32 expected_value, u32 timeout, char *operation);
/* Debug */
void sst_dsp_dump(struct sst_dsp *sst);