Re: [PATCH v4 RESEND 4/4] ASoC: cs42l43: Add support for the B variant

From: Charles Keepax

Date: Fri Mar 06 2026 - 10:02:28 EST


On Fri, Feb 27, 2026 at 01:01:01PM +0000, Maciej Strozek wrote:
> Introducing CS42L43B codec, a variant of CS42L43 which can be driven by
> the same driver.
>
> Changes in CS42L43 driver specific for CS42L43B:
> - Decimator 1 and 2 are dedicated to ADC, can't be selected for PDM
> - Decimators 3 and 4 are connected to PDM1
> - Added Decimator 5 and 6 for PDM2
> - Supports SoundWire Clock Gearing
> - Updated ROM requiring no patching
> - Reduced RAM space
> - Each ISRC has 4 decimators now
>
> Signed-off-by: Maciej Strozek <mstrozek@xxxxxxxxxxxxxxxxxxxxx>
> ---
> static int cs42l43_component_probe(struct snd_soc_component *component)
> {
> + struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component);

This needs updated to snd_soc_component_to_dapm.

Thanks,
Charles