Re: [PATCH v3 2/8] ASoC: cs35l41: Prevent software reset when using SPI

From: Mark Brown

Date: Thu Dec 03 2026 - 10:25:53 EST


On Thu, Dec 03, 2026 at 02:13:04PM +0000, Stefan Binding wrote:
> If there is any SPI Bus activity during a software reset, even if the
> chip select is not set for that Amp, the amp may not boot.
>
> This affects both CS35L41 ASoC and HDA drivers. For HDA this also
> affects system resume.

> +static bool cs35l41_is_spi_regmap(struct regmap *regmap)
> +{
> + struct device *dev = regmap_get_device(regmap);
> +
> + if (!dev) {
> + dev_err(dev, "Failed to get device from regmap\n");

Probably dev_err() isn't the best choice here... otherwise

Acked-by: Mark Brown <broonie@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature