File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -188,6 +188,15 @@ int max_98373_spk_codec_init(struct snd_soc_pcm_runtime *rtd)
188
188
}
189
189
EXPORT_SYMBOL_NS (max_98373_spk_codec_init , SND_SOC_INTEL_SOF_MAXIM_COMMON );
190
190
191
+ void max_98373_dai_link (struct device * dev , struct snd_soc_dai_link * link )
192
+ {
193
+ link -> codecs = max_98373_components ;
194
+ link -> num_codecs = ARRAY_SIZE (max_98373_components );
195
+ link -> init = max_98373_spk_codec_init ;
196
+ link -> ops = & max_98373_ops ;
197
+ }
198
+ EXPORT_SYMBOL_NS (max_98373_dai_link , SND_SOC_INTEL_SOF_MAXIM_COMMON );
199
+
191
200
void max_98373_set_codec_conf (struct snd_soc_card * card )
192
201
{
193
202
card -> codec_conf = max_98373_codec_conf ;
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ extern struct snd_soc_ops max_98373_ops;
25
25
extern const struct snd_soc_dapm_route max_98373_dapm_routes [];
26
26
27
27
int max_98373_spk_codec_init (struct snd_soc_pcm_runtime * rtd );
28
+ void max_98373_dai_link (struct device * dev , struct snd_soc_dai_link * link );
28
29
void max_98373_set_codec_conf (struct snd_soc_card * card );
29
30
int max_98373_trigger (struct snd_pcm_substream * substream , int cmd );
30
31
You can’t perform that action at this time.
0 commit comments