Re: [PATCH] soundwire: intel: constrain the optional BPT dependency

From: Vinod Koul

Date: Mon Nov 30 2026 - 09:09:35 EST


On 30-11-26, 20:29, Pengpeng Hou wrote:
> intel_ace2x.c calls the HDA SoundWire BPT helpers when the BPT
> provider is enabled. SOUNDWIRE_INTEL can be selected independently
> of the SOF platform drivers, so SOUNDWIRE_INTEL=y with
> SND_SOC_SOF_HDA_GENERIC=m can still leave SND_SOF_SOF_HDA_SDW_BPT=m.
> The IS_ENABLED() declarations then produce unresolved hda_sdw_bpt_*
> references from built-in code.
>
> The existing SOF selections handle their own selection paths but do
> not constrain an independently enabled SoundWire driver. Add the
> optional dependency on the BPT provider, as already done for HDA
> MLINK. Leave the BPT-disabled configuration using the existing
> stubs.
>
> The issue was found by our static-analysis tool and manually reviewed.

It is a build issue, should be easy to repro right? Can you please do
that and share the config and error log please

--
~Vinod