summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/bridge/sii902x.c
diff options
context:
space:
mode:
authorAlexander Stein <alexander.stein@ew.tq-group.com>2023-01-17 11:59:03 +0100
committerNeil Armstrong <neil.armstrong@linaro.org>2023-01-19 08:41:41 +0100
commitf8593120e321f8b21766db13c7333e9ae0740b65 (patch)
tree1774ed22810e41f7d44176c44ccf6538e08da1a6 /drivers/gpu/drm/bridge/sii902x.c
parentdrm/bridge: sii902x: Allow reset line to be tied to a sleepy GPIO controller (diff)
downloadlinux-f8593120e321f8b21766db13c7333e9ae0740b65.tar.xz
linux-f8593120e321f8b21766db13c7333e9ae0740b65.zip
drm/bridge: sii902x: Use dev_err_probe
This helps figuring out why the device probe is deferred. Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20230117105903.2068235-1-alexander.stein@ew.tq-group.com
Diffstat (limited to 'drivers/gpu/drm/bridge/sii902x.c')
-rw-r--r--drivers/gpu/drm/bridge/sii902x.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/bridge/sii902x.c b/drivers/gpu/drm/bridge/sii902x.c
index 7ae22bff93b8..ef66461e7f7c 100644
--- a/drivers/gpu/drm/bridge/sii902x.c
+++ b/drivers/gpu/drm/bridge/sii902x.c
@@ -1116,7 +1116,8 @@ static int sii902x_probe(struct i2c_client *client)
sii902x->next_bridge = of_drm_find_bridge(remote);
of_node_put(remote);
if (!sii902x->next_bridge)
- return -EPROBE_DEFER;
+ return dev_err_probe(dev, -EPROBE_DEFER,
+ "Failed to find remote bridge\n");
}
mutex_init(&sii902x->mutex);