projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
086df71
)
ASoC: codecs: wcd938x: skip printing deferred probe failuers
author
Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org>
Wed, 17 Jan 2024 15:12:07 +0000
(16:12 +0100)
committer
Mark Brown
<broonie@kernel.org>
Mon, 22 Jan 2024 15:31:14 +0000
(15:31 +0000)
Probe calls wcd938x_populate_dt_data() which already prints all the
error cases with dev_err_probe(), so skip the additional dev_err().
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link:
https://msgid.link/r/20240117151208.1219755-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wcd938x.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wcd938x.c
b/sound/soc/codecs/wcd938x.c
index 75834ed0365d93a7613052056892cf6c0fe0a239..6021aa5a56891969b04db64ac019bafb0766c701 100644
(file)
--- a/
sound/soc/codecs/wcd938x.c
+++ b/
sound/soc/codecs/wcd938x.c
@@
-3587,10
+3587,8
@@
static int wcd938x_probe(struct platform_device *pdev)
mutex_init(&wcd938x->micb_lock);
ret = wcd938x_populate_dt_data(wcd938x, dev);
- if (ret) {
- dev_err(dev, "%s: Fail to obtain platform data\n", __func__);
+ if (ret)
return ret;
- }
ret = wcd938x_add_slave_components(wcd938x, dev, &match);
if (ret)