[PATCH 2/2] drm/tve200: Fix handling of platform_get_irq() error
Linus Walleij
linus.walleij at linaro.org
Fri Aug 28 14:05:21 UTC 2020
On Thu, Aug 27, 2020 at 9:11 AM Krzysztof Kozlowski <krzk at kernel.org> wrote:
> platform_get_irq() returns -ERRNO on error. In such case comparison
> to 0 would pass the check.
>
> Fixes: 179c02fe90a4 ("drm/tve200: Add new driver for TVE200")
> Signed-off-by: Krzysztof Kozlowski <krzk at kernel.org>
Acked-by: Linus Walleij <linus.walleij at linaro.org>
Yours,
Linus Walleij
More information about the dri-devel
mailing list