]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: Correct bug parsing DisCo booleans
authorMark Brown <broonie@kernel.org>
Mon, 20 Apr 2026 17:40:07 +0000 (18:40 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 20 Apr 2026 17:40:07 +0000 (18:40 +0100)
Charles Keepax <ckeepax@opensource.cirrus.com> says:

MIPI DisCo uses the unfortunate convention of allowing boolean
properties to be present but having a zero value. Opposed to the
normal convention of simply not specifying the property. Fix an
issue in the SDCA code where mipi-sdca-control-deferrable is not
parsed correctly.

However, we also have some shipping ACPIs where these properties
are not specified correctly. Update the MBQ regmap to attempt defers
albeit with a warning in the case where a control attempts to defer
but is not marked at such. There is little down side to this as if
defer is genuinely not supported then the control will just return
the same error again.

1  2 
sound/soc/sdca/sdca_functions.c

Simple merge