Files
twx-linux/sound/soc/codecs
Krzysztof Kozlowski 48d21ff09f ASoC: codecs: wsa883x: Handle reading version failure
[ Upstream commit 2fbf16992e ]

If reading version and variant from registers fails (which is unlikely
but possible, because it is a read over bus), the driver will proceed
and perform device configuration based on uninitialized stack variables.
Handle it a bit better - bail out without doing any init and failing the
update status Soundwire callback.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20240710-asoc-wsa88xx-version-v1-2-f1c54966ccde@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-10-10 12:03:19 +02:00
..
2024-06-28 13:39:30 +01:00
2024-08-26 15:52:09 +01:00
2024-06-18 16:45:46 +01:00