[PATCH 1/2] drm/panel: ltk050h3146w: add check for mipi_dsi_dcs_enter_sleep_mode

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Fri Jun 21 21:44:34 UTC 2024


On Thu, Jun 20, 2024 at 03:47:20PM 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-leadtek-ltk050h3146w.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Fixes: 6ea4383b9214 ("drm/panel: add panel driver for Leadtek LTK050H3146W")


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


-- 
With best wishes
Dmitry


More information about the dri-devel mailing list