Hi,

Am Dienstag, 29. April 2025, 12:09:18 CEST schrieb Alexander Stein:
> Use dev_err_probe() to add a reason for deferred probe. This can
> especially happen on lcdif3 which uses hdmi_tx_phy for 'pix' clock
> 
> Signed-off-by: Alexander Stein <alexander.st...@ew.tq-group.com>

Gentle ping? Anyone picking this up? Or is there any other feedback?

Thanks and best regards
Alexander

> ---
>  drivers/gpu/drm/mxsfb/lcdif_drv.c | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/mxsfb/lcdif_drv.c 
> b/drivers/gpu/drm/mxsfb/lcdif_drv.c
> index d5996efaf34bb..99e632d4a0e9b 100644
> --- a/drivers/gpu/drm/mxsfb/lcdif_drv.c
> +++ b/drivers/gpu/drm/mxsfb/lcdif_drv.c
> @@ -164,15 +164,17 @@ static int lcdif_load(struct drm_device *drm)
>  
>       lcdif->clk = devm_clk_get(drm->dev, "pix");
>       if (IS_ERR(lcdif->clk))
> -             return PTR_ERR(lcdif->clk);
> +             return dev_err_probe(drm->dev, PTR_ERR(lcdif->clk), "Failed to 
> get pix clock\n");
>  
>       lcdif->clk_axi = devm_clk_get(drm->dev, "axi");
>       if (IS_ERR(lcdif->clk_axi))
> -             return PTR_ERR(lcdif->clk_axi);
> +             return dev_err_probe(drm->dev, PTR_ERR(lcdif->clk_axi),
> +                                  "Failed to get axi clock\n");
>  
>       lcdif->clk_disp_axi = devm_clk_get(drm->dev, "disp_axi");
>       if (IS_ERR(lcdif->clk_disp_axi))
> -             return PTR_ERR(lcdif->clk_disp_axi);
> +             return dev_err_probe(drm->dev, PTR_ERR(lcdif->clk_disp_axi),
> +                                  "Failed to get disp_axi clock\n");
>  
>       platform_set_drvdata(pdev, drm);
>  
> 


-- 
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/


Reply via email to