瀏覽代碼

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>
Subhransu S. Prusty 10 年之前
父節點
當前提交
6022d330a5
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      sound/soc/intel/common/sst-ipc.h

+ 1 - 0
sound/soc/intel/common/sst-ipc.h

@@ -51,6 +51,7 @@ struct sst_plat_ipc_ops {
 	void (*shim_dbg)(struct sst_generic_ipc *, const char *);
 	void (*shim_dbg)(struct sst_generic_ipc *, const char *);
 	void (*tx_data_copy)(struct ipc_message *, char *, size_t);
 	void (*tx_data_copy)(struct ipc_message *, char *, size_t);
 	u64  (*reply_msg_match)(u64 header, u64 *mask);
 	u64  (*reply_msg_match)(u64 header, u64 *mask);
+	bool (*is_dsp_busy)(struct sst_dsp *dsp);
 };
 };
 
 
 /* SST generic IPC data */
 /* SST generic IPC data */