Commit f48f7f92 authored by Marek Szyprowski's avatar Marek Szyprowski Committed by Felipe Balbi

udc: s3c-hsudc: Silence warning about supplies during deferred probe

Don't confuse user with meaningless warning about the failure in getting
supplies in case of deferred probe.
Reviewed-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: default avatarFelipe Balbi <balbi@kernel.org>
parent 8e11a977
...@@ -1285,7 +1285,8 @@ static int s3c_hsudc_probe(struct platform_device *pdev) ...@@ -1285,7 +1285,8 @@ static int s3c_hsudc_probe(struct platform_device *pdev)
ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(hsudc->supplies), ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(hsudc->supplies),
hsudc->supplies); hsudc->supplies);
if (ret != 0) { if (ret != 0) {
dev_err(dev, "failed to request supplies: %d\n", ret); if (ret != -EPROBE_DEFER)
dev_err(dev, "failed to request supplies: %d\n", ret);
goto err_supplies; goto err_supplies;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment