diff options
author | Subhransu S. Prusty <subhransu.s.prusty@intel.com> | 2015-05-19 05:30:33 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-05-22 14:24:10 -0400 |
commit | 6022d330a59735adbdcb917d1428a306dbba577b (patch) | |
tree | 6bdba3e373c903732eea8a03d4fb106bc513d6fa | |
parent | 83f125e2a1a3c7aba9c40016b9d4bec4d43f165d (diff) |
ASoC: Intel: Create an ops to check for DSP busy
Created an ops to check if DSP busy, to avoid using platform
specific registers in common IPC.
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/intel/common/sst-ipc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/intel/common/sst-ipc.h b/sound/soc/intel/common/sst-ipc.h index 125ea451a373..77a3befd16b0 100644 --- a/sound/soc/intel/common/sst-ipc.h +++ b/sound/soc/intel/common/sst-ipc.h | |||
@@ -51,6 +51,7 @@ struct sst_plat_ipc_ops { | |||
51 | void (*shim_dbg)(struct sst_generic_ipc *, const char *); | 51 | void (*shim_dbg)(struct sst_generic_ipc *, const char *); |
52 | void (*tx_data_copy)(struct ipc_message *, char *, size_t); | 52 | void (*tx_data_copy)(struct ipc_message *, char *, size_t); |
53 | u64 (*reply_msg_match)(u64 header, u64 *mask); | 53 | u64 (*reply_msg_match)(u64 header, u64 *mask); |
54 | bool (*is_dsp_busy)(struct sst_dsp *dsp); | ||
54 | }; | 55 | }; |
55 | 56 | ||
56 | /* SST generic IPC data */ | 57 | /* SST generic IPC data */ |