e02ab8617774dee2ded922387b8d82a3f27a4fc7
[openwrt/staging/linusw.git] /
1 From 00e306d9dd4855b6a6da682b934bbc513e7cbcd5 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 0019/1085] 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 @@ -294,7 +294,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;