[PATCH 1/6] mmc: meson-gx-mmc: Fix platform_get_irq's error checking

Kevin Hilman khilman at baylibre.com
Wed Dec 6 16:55:08 PST 2017


Arvind Yadav <arvind.yadav.cs at gmail.com> writes:

> The platform_get_irq() function returns negative if an error occurs.
> zero or positive number on success. platform_get_irq() error checking
> for zero is not correct.
>
> Signed-off-by: Arvind Yadav <arvind.yadav.cs at gmail.com>

Reviewed-by: Kevin Hilman <khilman at baylibre.com>



More information about the linux-amlogic mailing list