ce9bab645a2e57cc3d9209a21ae39e67ac417cd9
[openwrt/staging/blocktrron.git] /
1 From 135340b06a02d3a5ad0b214b3c0d59f6adb79dba 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 @@ -235,7 +235,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;