drm/bridge: tc358762: Ignore EPROBE_DEFER when logging errors

mipi_dsi_attach can fail due to resources not being available
yet, therefore do not log error messages should they occur.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
This commit is contained in:
Dave Stevenson
2022-01-20 17:29:36 +00:00
committed by Dom Cobley
parent ebab7c196a
commit e38e88b773

View File

@@ -298,7 +298,7 @@ static int tc358762_probe(struct mipi_dsi_device *dsi)
ret = mipi_dsi_attach(dsi);
if (ret < 0) {
drm_bridge_remove(&ctx->bridge);
dev_err(dev, "failed to attach dsi\n");
dev_err_probe(dev, ret, "failed to attach dsi\n");
}
return ret;