Skip to content

Commit 61aff2d

Browse files
morimotobroonie
authored andcommitted
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 <[email protected]> Suggested-by: Amadeusz Sławiński <[email protected]> Tested-by: Amadeusz Sławiński <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 82a0a3e commit 61aff2d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

sound/soc/intel/boards/skl_hda_dsp_generic.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,6 @@ static int skl_hda_audio_probe(struct platform_device *pdev)
124124
return ret;
125125

126126
card->dev = &pdev->dev;
127-
if (!snd_soc_acpi_sof_parent(&pdev->dev))
128-
card->disable_route_checks = true;
129127

130128
if (mach->mach_params.dmic_num > 0) {
131129
card->components = devm_kasprintf(card->dev, GFP_KERNEL,

0 commit comments

Comments
 (0)