mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-15 21:23:23 +00:00
remoteproc: da8xx: Handle deferred probe
Don't pollute dmesg on deferred probe by using dev_err_probe(). Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20241011-remote-proc-dev-err-probe-v1-1-5abb4fc61eca@linaro.org Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
This commit is contained in:
parent
8a8622b7c2
commit
fe03acd4b1
@ -265,11 +265,8 @@ static int da8xx_rproc_probe(struct platform_device *pdev)
|
||||
return PTR_ERR(chipsig);
|
||||
|
||||
dsp_clk = devm_clk_get(dev, NULL);
|
||||
if (IS_ERR(dsp_clk)) {
|
||||
dev_err(dev, "clk_get error: %ld\n", PTR_ERR(dsp_clk));
|
||||
|
||||
return PTR_ERR(dsp_clk);
|
||||
}
|
||||
if (IS_ERR(dsp_clk))
|
||||
return dev_err_probe(dev, PTR_ERR(dsp_clk), "clk_get error\n");
|
||||
|
||||
dsp_reset = devm_reset_control_get_exclusive(dev, NULL);
|
||||
if (IS_ERR(dsp_reset)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user