aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPierre-Louis Bossart <[email protected]>2023-05-15 15:10:42 +0800
committerVinod Koul <[email protected]>2023-05-27 16:06:47 +0530
commit6dd0776ddde8ae187c04803c53becd55eccf4fc3 (patch)
treeaf09c34f0ad4b642d4dab38c56d947f9d54d2456 /include
parent0127104507b1cfb7d79e0c56668431145f873bbf (diff)
soundwire: intel: use substream for .free 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]>
Diffstat (limited to 'include')
-rw-r--r--include/linux/soundwire/sdw_intel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/soundwire/sdw_intel.h b/include/linux/soundwire/sdw_intel.h
index 9bd6885ee34d..11fc88fb0d78 100644
--- a/include/linux/soundwire/sdw_intel.h
+++ b/include/linux/soundwire/sdw_intel.h
@@ -195,7 +195,7 @@ struct sdw_intel_stream_params_data {
* firmware.
*/
struct sdw_intel_stream_free_data {
- int stream;
+ struct snd_pcm_substream *substream;
struct snd_soc_dai *dai;
int link_id;
};