usb: chipidea: msm: Be silent on probe defer errors
If something fails in ci_hdrc_add_device() due to probe defer, we shouldn't print an error message. Be silent in this case as we'll try probe again later. Acked-by: Peter Chen <peter.chen@nxp.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org> Signed-off-by: Peter Chen <peter.chen@nxp.com>
This commit is contained in:
parent
11893dae63
commit
ed04f19f28
|
@ -262,8 +262,9 @@ static int ci_hdrc_msm_probe(struct platform_device *pdev)
|
|||
plat_ci = ci_hdrc_add_device(&pdev->dev, pdev->resource,
|
||||
pdev->num_resources, &ci->pdata);
|
||||
if (IS_ERR(plat_ci)) {
|
||||
dev_err(&pdev->dev, "ci_hdrc_add_device failed!\n");
|
||||
ret = PTR_ERR(plat_ci);
|
||||
if (ret != -EPROBE_DEFER)
|
||||
dev_err(&pdev->dev, "ci_hdrc_add_device failed!\n");
|
||||
goto err_mux;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue