diff options
author | Krzysztof Kozlowski <[email protected]> | 2024-06-28 11:58:31 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-07-01 20:07:29 +0100 |
commit | 765d3a2aa195882e231835f5d9ac4d99affc8c07 (patch) | |
tree | 25f9d09a1b85413584337ea9162344e57c89e46d /tools/perf/scripts/python/net_dropmonitor.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 <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions