drm/panel: ltk050h3146w: convert mipi_dsi_attach error message to dev_err_probe
Subsystems (3)
PATCH v2 1/1 drm/panel: ltk050h3146w: convert mipi_dsi_attach error message to dev_err_probe
From: Heiko Stuebner <[email protected]>
The panel will happily report every defer during probe with an error message.
Silence that to actual errors.
---
changes in v2:
- adapt to drm_panel_remove removal
drivers/gpu/drm/panel/panel-leadtek-ltk050h3146w.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/gpu/drm/panel/panel-leadtek-ltk050h3146w.c +2 -4
@@ -588,10 +588,8 @@ static int ltk050h3146w_probe(struct mipi_dsi_device *dsi)return ret; ret =devm_mipi_dsi_attach (dev, dsi); -if (ret <0 ) { -dev_err (dev,"mipi_dsi_attach failed: %d\n" , ret); -return ret; - } +if (ret <0 ) +return dev_err_probe (dev, ret,"mipi_dsi_attach failed\n" );return 0 ; }
Signature · 1 line
2.47.3
Hi Heiko,
Quoted 7 lines · Heiko Stuebner
From: Heiko Stuebner <[email protected]>
The panel will happily report every defer during probe with an error message.
Silence that to actual errors.
You forgot to add Neil's Rb from the v1. Here's mine:
Thanks!
Quentin
Am Montag, 2. November 2026, 21:03:19 Mitteleuropäische Normalzeit schrieb Quentin Schulz:
Quoted 8 lines
Hi Heiko,
Quoted 5 lines · Heiko Stuebner
From: Heiko Stuebner <[email protected]>
The panel will happily report every defer during probe with an error message.
Quoted 6 lines
Quoted 2 lines
Silence that to actual errors.
You forgot to add Neil's Rb from the v1. Here's mine:
Reviewed-by Quentin Schulz <[email protected]>
I wasn't sure if that carried ... because the structure changed, due to the drm_panel_remove call being gone beforehand.