@@ -95,7 +95,7 @@ struct sof_sdw_dai_info {
9595 struct sof_sdw_codec_info * info ,
9696 bool playback );
9797 int (* exit )(struct snd_soc_card * card , struct snd_soc_dai_link * dai_link );
98- int (* rtd_init )(struct snd_soc_pcm_runtime * rtd );
98+ int (* rtd_init )(struct snd_soc_pcm_runtime * rtd , struct snd_soc_dai * dai );
9999 bool rtd_init_done ; /* Indicate that the rtd_init callback is done */
100100 unsigned long quirk ;
101101};
@@ -208,19 +208,19 @@ int sof_sdw_cs_amp_init(struct snd_soc_card *card,
208208
209209/* dai_link init callbacks */
210210
211- int cs42l42_rtd_init (struct snd_soc_pcm_runtime * rtd );
212- int cs42l43_hs_rtd_init (struct snd_soc_pcm_runtime * rtd );
213- int cs42l43_spk_rtd_init (struct snd_soc_pcm_runtime * rtd );
214- int cs42l43_dmic_rtd_init (struct snd_soc_pcm_runtime * rtd );
215- int cs_spk_rtd_init (struct snd_soc_pcm_runtime * rtd );
216- int maxim_spk_rtd_init (struct snd_soc_pcm_runtime * rtd );
217- int rt5682_rtd_init (struct snd_soc_pcm_runtime * rtd );
218- int rt700_rtd_init (struct snd_soc_pcm_runtime * rtd );
219- int rt711_rtd_init (struct snd_soc_pcm_runtime * rtd );
220- int rt712_spk_rtd_init (struct snd_soc_pcm_runtime * rtd );
221- int rt722_spk_rtd_init (struct snd_soc_pcm_runtime * rtd );
222- int rt_dmic_rtd_init (struct snd_soc_pcm_runtime * rtd );
223- int rt_amp_spk_rtd_init (struct snd_soc_pcm_runtime * rtd );
224- int rt_sdca_jack_rtd_init (struct snd_soc_pcm_runtime * rtd );
211+ int cs42l42_rtd_init (struct snd_soc_pcm_runtime * rtd , struct snd_soc_dai * dai );
212+ int cs42l43_hs_rtd_init (struct snd_soc_pcm_runtime * rtd , struct snd_soc_dai * dai );
213+ int cs42l43_spk_rtd_init (struct snd_soc_pcm_runtime * rtd , struct snd_soc_dai * dai );
214+ int cs42l43_dmic_rtd_init (struct snd_soc_pcm_runtime * rtd , struct snd_soc_dai * dai );
215+ int cs_spk_rtd_init (struct snd_soc_pcm_runtime * rtd , struct snd_soc_dai * dai );
216+ int maxim_spk_rtd_init (struct snd_soc_pcm_runtime * rtd , struct snd_soc_dai * dai );
217+ int rt5682_rtd_init (struct snd_soc_pcm_runtime * rtd , struct snd_soc_dai * dai );
218+ int rt700_rtd_init (struct snd_soc_pcm_runtime * rtd , struct snd_soc_dai * dai );
219+ int rt711_rtd_init (struct snd_soc_pcm_runtime * rtd , struct snd_soc_dai * dai );
220+ int rt712_spk_rtd_init (struct snd_soc_pcm_runtime * rtd , struct snd_soc_dai * dai );
221+ int rt722_spk_rtd_init (struct snd_soc_pcm_runtime * rtd , struct snd_soc_dai * dai );
222+ int rt_dmic_rtd_init (struct snd_soc_pcm_runtime * rtd , struct snd_soc_dai * dai );
223+ int rt_amp_spk_rtd_init (struct snd_soc_pcm_runtime * rtd , struct snd_soc_dai * dai );
224+ int rt_sdca_jack_rtd_init (struct snd_soc_pcm_runtime * rtd , struct snd_soc_dai * dai );
225225
226226#endif
0 commit comments