[PATCH] drm/msm/dsi: fix irq_of_parse_and_map() error checking

Abhinav Kumar quic_abhinavk at quicinc.com
Mon Sep 18 19:45:53 UTC 2023



On 9/15/2023 5:59 AM, Dan Carpenter wrote:
> The irq_of_parse_and_map() function returns zero on error.  It
> never returns negative error codes.  Fix the check.
> 
> Fixes: a689554ba6ed ("drm/msm: Initial add DSI connector support")
> Signed-off-by: Dan Carpenter <dan.carpenter at linaro.org>
> ---
>   drivers/gpu/drm/msm/dsi/dsi_host.c | 7 +++----
>   1 file changed, 3 insertions(+), 4 deletions(-)
> 

Reviewed-by: Abhinav Kumar <quic_abhinavk at quicinc.com>

Will queue it up for -fixes


More information about the dri-devel mailing list