From: Subhransu S. Prusty Date: Tue, 19 May 2015 09:30:33 +0000 (+0530) Subject: ASoC: Intel: Create an ops to check for DSP busy X-Git-Tag: v5.15~15086^2~80^2~6^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6022d330a59735adbdcb917d1428a306dbba577b;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Vinod Koul Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- diff --git a/sound/soc/intel/common/sst-ipc.h b/sound/soc/intel/common/sst-ipc.h index 125ea45..77a3bef 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 { void (*shim_dbg)(struct sst_generic_ipc *, const char *); void (*tx_data_copy)(struct ipc_message *, char *, size_t); u64 (*reply_msg_match)(u64 header, u64 *mask); + bool (*is_dsp_busy)(struct sst_dsp *dsp); }; /* SST generic IPC data */