projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb949ce
)
drm/bridge: ti-sn65dsi83: use dev_err_probe if host attach failed
author
Alexander Stein
<alexander.stein@ew.tq-group.com>
Wed, 5 Apr 2023 07:52:23 +0000
(09:52 +0200)
committer
Robert Foss
<rfoss@kernel.org>
Wed, 5 Apr 2023 08:47:28 +0000
(10:47 +0200)
There might be cases where the host attach is deferred, use dev_err_probe
to add more detailed information to /sys/kernel/debug/devices_deferred.
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Link:
https://patchwork.freedesktop.org/patch/msgid/20230405075223.579461-1-alexander.stein@ew.tq-group.com
drivers/gpu/drm/bridge/ti-sn65dsi83.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/bridge/ti-sn65dsi83.c
b/drivers/gpu/drm/bridge/ti-sn65dsi83.c
index 91ecfbe45bf90c0d790b995924daad47159ee8bd..988e537ab88461be87bba02b5ef8dcca0bb7c41e 100644
(file)
--- a/
drivers/gpu/drm/bridge/ti-sn65dsi83.c
+++ b/
drivers/gpu/drm/bridge/ti-sn65dsi83.c
@@
-698,8
+698,10
@@
static int sn65dsi83_probe(struct i2c_client *client)
drm_bridge_add(&ctx->bridge);
ret = sn65dsi83_host_attach(ctx);
- if (ret)
+ if (ret) {
+ dev_err_probe(dev, ret, "failed to attach DSI host\n");
goto err_remove_bridge;
+ }
return 0;