diff options
| author | Krzysztof Kozlowski <[email protected]> | 2024-06-28 09:58:30 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2024-07-01 19:07:29 +0000 |
| commit | 2e068fe01ecbf677d414d4c1b02eea1636dd614c (patch) | |
| tree | 71743babaf750b187a09d3311a680041055c4540 /sound/soc/codecs/lpass-wsa-macro.c | |
| parent | ASoC: fsl: lpc3xxx-i2s: Include bitfield.h for FIELD_PREP (diff) | |
| download | kernel-2e068fe01ecbf677d414d4c1b02eea1636dd614c.tar.gz kernel-2e068fe01ecbf677d414d4c1b02eea1636dd614c.zip | |
ASoC: codecs: lpass-rx-macro: Fix using NULL pointer in probe() dev_err
The 'rx->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: dbacef05898d ("ASoC: codec: lpass-rx-macro: prepare driver to accomdate new codec versions")
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 'sound/soc/codecs/lpass-wsa-macro.c')
0 files changed, 0 insertions, 0 deletions
