lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aXt+LsclG7/4QRU/@opensource.cirrus.com>
Date: Thu, 29 Jan 2026 15:35:10 +0000
From: Charles Keepax <ckeepax@...nsource.cirrus.com>
To: Boris Faure <boris@....re>
Cc: mstrozek@...nsource.cirrus.com, yung-chuan.liao@...ux.intel.com,
        pierre-louis.bossart@...ux.dev, lgirdwood@...il.com,
        broonie@...nel.org, perex@...ex.cz, tiwai@...e.com,
        linux-sound@...r.kernel.org, patches@...nsource.cirrus.com,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ASoC: sdca: Fix missing regmap dependencies in Kconfig

On Thu, Jan 29, 2026 at 02:14:54PM +0000, Boris Faure wrote:
> The SDCA modules failed to build with modpost errors:
> 
>   ERROR: modpost: "__devm_regmap_init_sdw" [sound/soc/sdca/snd-soc-sdca-class.ko] undefined!
>   ERROR: modpost: "__devm_regmap_init_sdw_mbq" [sound/soc/sdca/snd-soc-sdca-class-function.ko] undefined!
> 
> The issue occurs because:
> - sdca_class.c calls devm_regmap_init_sdw() which requires REGMAP_SOUNDWIRE
> - sdca_class_function.c calls devm_regmap_init_sdw_mbq_cfg() which requires REGMAP_SOUNDWIRE_MBQ
> 
> However, the Kconfig didn't select these dependencies, causing the symbols
> to be unavailable when the SDCA modules are built.
> 
> Fix this by adding:
> - select REGMAP_SOUNDWIRE to SND_SOC_SDCA_CLASS
> - select REGMAP_SOUNDWIRE_MBQ to SND_SOC_SDCA_CLASS_FUNCTION
> 
> This ensures the required regmap drivers are enabled when building SDCA support.
> 
> Configuration after fix:
>   CONFIG_SND_SOC_SDCA_CLASS=m
>   CONFIG_SND_SOC_SDCA_CLASS_FUNCTION=m
>   CONFIG_REGMAP_SOUNDWIRE=m
>   CONFIG_REGMAP_SOUNDWIRE_MBQ=m
> 
> Signed-off-by: Boris Faure <boris@....re>
> ---

Reviewed-by: Charles Keepax <ckeepax@...nsource.cirrus.com>

Thanks,
Charles

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ