diff options
author | 2024-05-09 11:34:17 -0500 | |
---|---|---|
committer | 2024-05-10 07:11:50 +0100 | |
commit | 84e0a19adb73d7cec5a43e02f9e2d2aafc5c7176 (patch) | |
tree | bf27fcb6657ce1e0e7c5a38c619ebb8d749b8066 /sound/soc/intel/boards/sof_sdw_rt722_sdca.c | |
parent | ASoC: Intel: sof_sdw: use .controls/.widgets to add controls/widgets (diff) | |
download | linux-84e0a19adb73d7cec5a43e02f9e2d2aafc5c7176.tar.gz linux-84e0a19adb73d7cec5a43e02f9e2d2aafc5c7176.tar.bz2 linux-84e0a19adb73d7cec5a43e02f9e2d2aafc5c7176.zip |
ASoC: Intel: sof_sdw: add dai parameter to rtd_init callback
A generic .rtd_init() callback could be used by different dais. It is
useful to pass dai parameter to the callback. The dai parameter will be
used in the follow up commit. No functional change here.
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20240509163418.67746-18-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/boards/sof_sdw_rt722_sdca.c')
-rw-r--r-- | sound/soc/intel/boards/sof_sdw_rt722_sdca.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/boards/sof_sdw_rt722_sdca.c b/sound/soc/intel/boards/sof_sdw_rt722_sdca.c index 02ee8e33a99a..083d281bd052 100644 --- a/sound/soc/intel/boards/sof_sdw_rt722_sdca.c +++ b/sound/soc/intel/boards/sof_sdw_rt722_sdca.c @@ -19,7 +19,7 @@ static const struct snd_soc_dapm_route rt722_spk_map[] = { { "Speaker", NULL, "rt722 SPK" }, }; -int rt722_spk_rtd_init(struct snd_soc_pcm_runtime *rtd) +int rt722_spk_rtd_init(struct snd_soc_pcm_runtime *rtd, struct snd_soc_dai *dai) { struct snd_soc_card *card = rtd->card; int ret; |