]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
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)
commitcec9d64c09c505c818e9a8093a012234051c2d14
tree53d4f17997dc234ad88776517ba9b6faec7e36d8
parentc15bc1681045f158811643d6c990f87c590dd693
parent956c032be7ca3f440d4786ea37e941bf862bb170
ASoC: Correct bug parsing DisCo booleans

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.
sound/soc/sdca/sdca_functions.c