Re: [PATCH] ALSA: hda: fix SND_INTEL_DSP_CONFIG dependency

From: Mark Brown
Date: Mon Jan 04 2021 - 09:14:13 EST


On Mon, Jan 04, 2021 at 03:09:24PM +0100, Takashi Iwai wrote:

> IMO, the problem is rather the unconditional calls of
> snd_intel_dsp_driver_probe() in snd-soc-sof-pci and snd-soc-sof-acpi
> drivers. Those calls should be done only if Intel drivers are
> involved. So, wrapping the call with ifdef
> CONFIG_SND_SOC_SOF_INTEL_PCI or CONFIG_SND_SOC_SOF_INTEL_ACPI would
> work better (although those are a bit uglier).

Or stubbing them which might be neater.

Attachment: signature.asc
Description: PGP signature