diff options
author | Vinod Koul <vinod.koul@intel.com> | 2016-09-26 08:35:28 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-10-28 21:05:48 +0300 |
commit | f999d1fd69ede11012a872cbdba33bd9c9c2e386 (patch) | |
tree | 30e85621453dab0d6b6242db70d040efb6353ad1 /sound/soc/intel/common/sst-ipc.h | |
parent | 6a7f5e41128de638fae7522262d18a6ef9cf1096 (diff) | |
download | linux-f999d1fd69ede11012a872cbdba33bd9c9c2e386.tar.xz |
ASoC: Intel: Add check_dsp_lp_on callback on IPC
Some controllers support power modes which can't communicate using IPC.
So add a callback to check and wake DSP before sending IPC and then put
to sleep if it is in these power modes.
Signed-off-by: Jayachandran B <jayachandran.b@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-ipc.h')
-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 ceb7e468a3fa..46871a5dff1d 100644 --- a/sound/soc/intel/common/sst-ipc.h +++ b/sound/soc/intel/common/sst-ipc.h @@ -52,6 +52,7 @@ struct sst_plat_ipc_ops { 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); + int (*check_dsp_lp_on)(struct sst_dsp *dsp, bool state); }; /* SST generic IPC data */ |