872e59212cd6c883f6e363c2359d03bb687eb24e
[openwrt/staging/dangole.git] /
1 From f8507ec6caab1faf9bdb32257079094ca3600bfc Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Thu, 20 Jan 2022 17:29:36 +0000
4 Subject: [PATCH] drm/bridge: tc358762: Ignore EPROBE_DEFER when
5 logging errors
6
7 mipi_dsi_attach can fail due to resources not being available
8 yet, therefore do not log error messages should they occur.
9
10 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
11 ---
12 drivers/gpu/drm/bridge/tc358762.c | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 --- a/drivers/gpu/drm/bridge/tc358762.c
16 +++ b/drivers/gpu/drm/bridge/tc358762.c
17 @@ -243,7 +243,7 @@ static int tc358762_probe(struct mipi_ds
18 ret = mipi_dsi_attach(dsi);
19 if (ret < 0) {
20 drm_bridge_remove(&ctx->bridge);
21 - dev_err(dev, "failed to attach dsi\n");
22 + dev_err_probe(dev, ret, "failed to attach dsi\n");
23 }
24
25 return ret;