Skip to content

Commit dfa1a7f

Browse files
brentlubroonie
authored andcommitted
ASoC: SOF: Intel: hda: remove common_hdmi_codec_drv
Do not set common_hdmi_codec_drv in SOF platform driver since no machine driver needs it. Remove member variable common_hdmi_codec_drv from snd_soc_acpi_mach_params structure. Signed-off-by: Brent Lu <[email protected]> Reviewed-by: Péter Ujfalusi <[email protected]> Signed-off-by: Bard Liao <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent f22a351 commit dfa1a7f

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

include/sound/soc-acpi.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ static inline struct snd_soc_acpi_mach *snd_soc_acpi_codec_list(void *arg)
6262
* @platform: string used for HDAudio codec support
6363
* @codec_mask: used for HDAudio support
6464
* @dmic_num: number of SoC- or chipset-attached PDM digital microphones
65-
* @common_hdmi_codec_drv: use commom HDAudio HDMI codec driver
6665
* @link_mask: SoundWire links enabled on the board
6766
* @links: array of SoundWire link _ADR descriptors, null terminated
6867
* @i2s_link_mask: I2S/TDM links enabled on the board
@@ -80,7 +79,6 @@ struct snd_soc_acpi_mach_params {
8079
const char *platform;
8180
u32 codec_mask;
8281
u32 dmic_num;
83-
bool common_hdmi_codec_drv;
8482
u32 link_mask;
8583
const struct snd_soc_acpi_link_adr *links;
8684
u32 i2s_link_mask;

sound/soc/sof/intel/hda.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,6 @@ static void hda_generic_machine_select(struct snd_sof_dev *sdev,
10511051
if (*mach) {
10521052
mach_params = &(*mach)->mach_params;
10531053
mach_params->codec_mask = bus->codec_mask;
1054-
mach_params->common_hdmi_codec_drv = true;
10551054
}
10561055
}
10571056
#else

0 commit comments

Comments
 (0)