From: Kuninori Morimoto Date: Thu, 9 Jan 2025 00:14:34 +0000 (+0000) Subject: ASoC: intel: remove disable_route_checks X-Git-Tag: v6.14-rc1~111^2~7^2~13^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=61aff2da3e63a43f22e60aa1bc57026ce07d189e;p=thirdparty%2Fkernel%2Flinux.git ASoC: intel: remove disable_route_checks It sets disable_route_checks flag after checking that parent driver isn't SOF, but skylake driver was removed, so it is dead code. We can remove last user of disable_route_checks. Signed-off-by: Kuninori Morimoto Suggested-by: Amadeusz Sławiński Tested-by: Amadeusz Sławiński Link: https://patch.msgid.link/87v7uo268m.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/intel/boards/skl_hda_dsp_generic.c b/sound/soc/intel/boards/skl_hda_dsp_generic.c index 22668bac74a1f..0554c7e2cb34e 100644 --- a/sound/soc/intel/boards/skl_hda_dsp_generic.c +++ b/sound/soc/intel/boards/skl_hda_dsp_generic.c @@ -124,8 +124,6 @@ static int skl_hda_audio_probe(struct platform_device *pdev) return ret; card->dev = &pdev->dev; - if (!snd_soc_acpi_sof_parent(&pdev->dev)) - card->disable_route_checks = true; if (mach->mach_params.dmic_num > 0) { card->components = devm_kasprintf(card->dev, GFP_KERNEL,