drm/bridge: ti-sn65dsi83: use dev_err_probe if host attach failed
Subsystems (3)
PATCH 1/1 drm/bridge: ti-sn65dsi83: use dev_err_probe if host attach failed
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 <[email protected]>
--- drivers/gpu/drm/bridge/ti-sn65dsi83.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/gpu/drm/bridge/ti-sn65dsi83.c +3 -1
@@ -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 ;
Signature · 1 line
2.34.1
Hi Alexander,
Thank you for the patch.
Quoted 4 lines · Alexander Stein
There might be cases where the host attach is deferred, use
dev_err_probeto add more detailed information to/sys/kernel/debug/devices_deferred.Signed-off-by Alexander Stein <[email protected]>
Reviewed-by Laurent Pinchart <[email protected]>
Quoted 20 lines
--- drivers/gpu/drm/bridge/ti-sn65dsi83.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)drivers/gpu/drm/bridge/ti-sn65dsi83.c +3
-1@@ -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 ;
Signature · 3 lines
Regards, Laurent Pinchart
From: Robert Foss <[email protected]>
Quoted 4 lines · Alexander Stein
There might be cases where the host attach is deferred, use
dev_err_probeto add more detailed information to/sys/kernel/debug/devices_deferred.
Applied, thanks!
[1/1] drm/bridge: ti-sn65dsi83: use dev_err_probe if host attach failed
https://cgit.freedesktop.org/drm/drm-misc/commit/?id=ce7498acaa88
Rob