Searched hist:"2 e068fe01ecbf677d414d4c1b02eea1636dd614c" (Results 1 – 1 of 1) sorted by relevance
/linux/sound/soc/codecs/ |
H A D | lpass-rx-macro.c | diff 2e068fe01ecbf677d414d4c1b02eea1636dd614c Fri Jun 28 11:58:30 CEST 2024 Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 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 <krzysztof.kozlowski@linaro.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://patch.msgid.link/20240628095831.207942-1-krzysztof.kozlowski@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
|