File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,6 @@ static struct snd_soc_dai_link_component platform_component[] = {
126
126
}
127
127
};
128
128
129
- #if IS_ENABLED (CONFIG_SND_HDA_CODEC_HDMI )
130
129
static int sof_card_late_probe (struct snd_soc_card * card )
131
130
{
132
131
struct sof_card_private * ctx = snd_soc_card_get_drvdata (card );
@@ -146,12 +145,6 @@ static int sof_card_late_probe(struct snd_soc_card *card)
146
145
147
146
return hda_dsp_hdmi_build_controls (card , pcm -> codec_dai -> component );
148
147
}
149
- #else
150
- static int sof_card_late_probe (struct snd_soc_card * card )
151
- {
152
- return 0 ;
153
- }
154
- #endif
155
148
156
149
static const struct snd_kcontrol_new sof_controls [] = {
157
150
SOC_DAPM_PIN_SWITCH ("Ext Spk" ),
@@ -374,14 +367,12 @@ static int sof_audio_probe(struct platform_device *pdev)
374
367
sof_pcm512x_quirk = SOF_PCM512X_SSP_CODEC (2 );
375
368
} else {
376
369
dmic_be_num = 2 ;
377
- #if IS_ENABLED (CONFIG_SND_HDA_CODEC_HDMI )
378
370
if (mach -> mach_params .common_hdmi_codec_drv &&
379
371
(mach -> mach_params .codec_mask & IDISP_CODEC_MASK ))
380
372
ctx -> idisp_codec = true;
381
373
382
374
/* links are always present in topology */
383
375
hdmi_num = 3 ;
384
- #endif
385
376
}
386
377
387
378
dmi_check_system (sof_pcm512x_quirk_table );
You can’t perform that action at this time.
0 commit comments