Re: [PATCH 2/2] drm/tve200: Fix handling of platform_get_irq() error
From: Linus Walleij
Date: Fri Aug 28 2020 - 10:06:07 EST
On Thu, Aug 27, 2020 at 9:11 AM Krzysztof Kozlowski <krzk@xxxxxxxxxx> 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@xxxxxxxxxx>
Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
Yours,
Linus Walleij