]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: SDCA: Fix reading of mipi-sdca-control-deferrable
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Mon, 13 Apr 2026 12:46:21 +0000 (13:46 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 20 Apr 2026 17:40:03 +0000 (18:40 +0100)
commit956c032be7ca3f440d4786ea37e941bf862bb170
tree4482ed331f03c0db78d8f64748b7b5af330a6802
parentca1b11b36d8231a748c77e4732e40de9998fa9d8
ASoC: SDCA: Fix reading of mipi-sdca-control-deferrable

The discussion in [1] highlighted that the SDCA code shouldn't be using
fwnode_property_read_bool() for DisCo controls, as the spec allows setting
the value to zero meaning the property should not be used. Correct a
small bug in the SDCA code that will mark such controls as deferrable.

Link: https://lore.kernel.org/linux-sound/20260311142153.2201761-1-rf@opensource.cirrus.com/
Fixes: 42b144cb6a2d ("ASoC: SDCA: Add SDCA Control parsing")
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20260413124621.1345315-3-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sdca/sdca_functions.c