diff options
author | Pierre-Louis Bossart <[email protected]> | 2023-05-15 15:10:40 +0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2023-05-27 16:06:47 +0530 |
commit | 8bff8c49c85b073e5086d98b0a47a9ad7b52198a (patch) | |
tree | 53504128257c3d7d1877546d0630b488bca29630 | |
parent | 02428406a0b0016c9a4d286f98bac8d9af0c1bed (diff) |
soundwire: intel: use substream for .trigger callback
The interface is not needed for IPC3 but will be needed for
ACE2.x+IPC4 combinations, with the substream information passed as a
parameter.
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Rander Wang <[email protected]>
Reviewed-by: Ranjani Sridharan <[email protected]>
Signed-off-by: Bard Liao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
-rw-r--r-- | include/linux/soundwire/sdw_intel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/soundwire/sdw_intel.h b/include/linux/soundwire/sdw_intel.h index ccb228eebc65..9bd6885ee34d 100644 --- a/include/linux/soundwire/sdw_intel.h +++ b/include/linux/soundwire/sdw_intel.h @@ -209,7 +209,7 @@ struct sdw_intel_ops { struct sdw_intel_stream_params_data *params_data); int (*free_stream)(struct device *dev, struct sdw_intel_stream_free_data *free_data); - int (*trigger)(struct snd_soc_dai *dai, int cmd, int stream); + int (*trigger)(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai); }; /** |