[PATCH 1/2] drm/mcde: Fix handling of platform_get_irq() error
Linus Walleij
linus.walleij at linaro.org
Fri Aug 28 14:04:48 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: 5fc537bfd000 ("drm/mcde: Add new driver for ST-Ericsson MCDE")
> 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