Skip to content

Commit 8bff8c4

Browse files
plbossartvinodkoul
authored andcommitted
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 <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-25-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 0242840 commit 8bff8c4

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
@@ -209,7 +209,7 @@ struct sdw_intel_ops {
209209
struct sdw_intel_stream_params_data *params_data);
210210
int (*free_stream)(struct device *dev,
211211
struct sdw_intel_stream_free_data *free_data);
212-
int (*trigger)(struct snd_soc_dai *dai, int cmd, int stream);
212+
int (*trigger)(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai);
213213
};
214214

215215
/**

0 commit comments

Comments
 (0)