diff options
author | Krzysztof Kozlowski <[email protected]> | 2024-07-10 15:52:31 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-07-29 01:17:17 +0100 |
commit | 2fbf16992e5aa14acf0441320033a01a32309ded (patch) | |
tree | 01a4c15fe02586314f230c9bfefac14663822ac4 /tools/perf/scripts/python/parallel-perf.py | |
parent | 3d2a69eb503d15171a7ba51cf0b562728ac396b7 (diff) |
ASoC: codecs: wsa883x: Handle reading version failure
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 <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions