Commit c7a79f54 authored by Ajye Huang's avatar Ajye Huang Committed by Mark Brown

ASoC: Intel: sof rt5682: remove the duplicate codes

Remove the redundant code to prevent user confuse.
Signed-off-by: default avatarAjye Huang <ajye_huang@compal.corp-partner.google.com>
Acked-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20221108042716.2930255-3-ajye_huang@compal.corp-partner.google.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 1a9a5ebe
......@@ -855,10 +855,6 @@ static int sof_audio_probe(struct platform_device *pdev)
if (acpi_dev_present("RTL5682", NULL, -1))
sof_rt5682_quirk |= SOF_RT5682S_HEADPHONE_CODEC_PRESENT;
/* Detect the headset codec variant to support machines in DMI quirk */
if (acpi_dev_present("RTL5682", NULL, -1))
sof_rt5682_quirk |= SOF_RT5682S_HEADPHONE_CODEC_PRESENT;
if (soc_intel_is_byt() || soc_intel_is_cht()) {
is_legacy_cpu = 1;
dmic_be_num = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment