[PATCH 2/2] drm/panel-xinpeng-xpp055c272: add check for mipi_dsi_dcs_enter_sleep_mode

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Fri Jun 21 21:45:32 UTC 2024


On Thu, Jun 20, 2024 at 03:48:02PM GMT, Chen Ni wrote:
> Add check for the return value of mipi_dsi_dcs_enter_sleep_mode() and
> return the error if it fails in order to catch the error.
> 
> Signed-off-by: Chen Ni <nichen at iscas.ac.cn>
> ---
>  drivers/gpu/drm/panel/panel-xinpeng-xpp055c272.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Fixes: d1479d028af2 ("drm/panel: add panel driver for Xinpeng XPP055C272 panels")
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>


-- 
With best wishes
Dmitry


More information about the dri-devel mailing list