diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2024-06-28 11:58:31 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-07-01 20:07:29 +0100 |
commit | 765d3a2aa195882e231835f5d9ac4d99affc8c07 (patch) | |
tree | 25f9d09a1b85413584337ea9162344e57c89e46d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 2e068fe01ecbf677d414d4c1b02eea1636dd614c (diff) |
ASoC: codecs: lpass-wsa-macro: Fix using NULL pointer in probe() dev_err
The 'wsa->dev' is assigned closer to the end of the probe() function, so
the dev_err() must not use it - it is still NULL at this point. Instead
there is already a local 'dev' variable.
Fixes: 727de4fbc546 ("ASoC: codecs: lpass-wsa-macro: Correct support for newer v2.5 version")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://patch.msgid.link/20240628095831.207942-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions