Skip to content

Commit 6dd0776

Browse files
plbossartvinodkoul
authored andcommitted
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 <pierre-louis.bossart@linux.intel.com> Reviewed-by: Rander Wang <rander.wang@intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20230515071042.2038-27-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 0127104 commit 6dd0776

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/linux/soundwire/sdw_intel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ struct sdw_intel_stream_params_data {
195195
* firmware.
196196
*/
197197
struct sdw_intel_stream_free_data {
198-
int stream;
198+
struct snd_pcm_substream *substream;
199199
struct snd_soc_dai *dai;
200200
int link_id;
201201
};

0 commit comments

Comments
 (0)