[PATCH v6 06/12] drm/bridge: cdns-dsi: Check return value when getting default PHY config

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Mon Jan 13 09:41:19 UTC 2025


On Sun, Jan 12, 2025 at 12:57:32AM +0530, Aradhya Bhatia wrote:
> From: Aradhya Bhatia <a-bhatia1 at ti.com>
> 
> Check for the return value of the phy_mipi_dphy_get_default_config()
> call, and incase of an error, return back the same.
> 
> Fixes: fced5a364dee ("drm/bridge: cdns: Convert to phy framework")
> Reviewed-by: Tomi Valkeinen <tomi.valkeinen at ideasonboard.com>
> Signed-off-by: Aradhya Bhatia <a-bhatia1 at ti.com>
> Signed-off-by: Aradhya Bhatia <aradhya.bhatia at linux.dev>
> ---
>  drivers/gpu/drm/bridge/cadence/cdns-dsi-core.c | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>

-- 
With best wishes
Dmitry


More information about the dri-devel mailing list