Commit 99d69684 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Greg Kroah-Hartman
Browse files

ASoC: codecs: wcd9335: Handle nicer probe deferral and simplify with dev_err_probe()



[ Upstream commit 4a03b5db ]

wcd9335_parse_dt() function is called only from probe(), so printing
errors on resource acquisition is discouraged, because it can pollute
dmesg.  Use dev_err_probe() to fix this and also make the code a bit
simpler.

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://msgid.link/r/20240612-asoc-wcd9xxx-wide-cleanups-v1-4-0d15885b2a06@linaro.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Stable-dep-of: 9079db28 ("ASoC: codecs: wcd9335: Fix missing free of regulator supplies")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 0c40fa81
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment