Re: [PATCH 1/2] drm/mcde: Fix handling of platform_get_irq() error

From: Linus Walleij
Date: Fri Aug 28 2020 - 10:05:50 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: 5fc537bfd000 ("drm/mcde: Add new driver for ST-Ericsson MCDE")
> Signed-off-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>

Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij