[Freedreno] [PATCH] drm/msm/hdmi: fix error check return value of irq_of_parse_and_map()

Stephen Boyd swboyd at chromium.org
Mon Apr 25 20:11:22 UTC 2022


Quoting cgel.zte at gmail.com (2022-04-25 02:18:31)
> From: Lv Ruyi <lv.ruyi at zte.com.cn>
>
> The irq_of_parse_and_map() function returns 0 on failure, and does not
> return a negative value anyhow, so never enter this conditional branch.
>
> Fixes: f6a8eaca0ea1 ("drm/msm/mdp5: use irqdomains")
> Reported-by: Zeal Robot <zealci at zte.com.cn>
> Signed-off-by: Lv Ruyi <lv.ruyi at zte.com.cn>
> ---

This one fixes a commit that moved away from platform APIs!

Reviewed-by: Stephen Boyd <swboyd at chromium.org>


More information about the Freedreno mailing list