Re: [PATCH v2] net: smc91x: propagate irq return code
From: David Miller
Date: Tue Feb 16 2016 - 15:02:59 EST
From: Robert Jarzmik <robert.jarzmik@xxxxxxx>
Date: Sat, 6 Feb 2016 22:23:20 +0100
> The smc91x driver doesn't honor the probe deferral mechanism when the
> interrupt source is not yet available, such as one provided by a gpio
> controller not probed.
>
> Fix this by propagating the platform_get_irq() error code as the probe
> return value.
>
> Signed-off-by: Robert Jarzmik <robert.jarzmik@xxxxxxx>
> Cc: Sergei Shtylyov <sergei.shtylyov@xxxxxxxxxxxxxxxxxx>
> ---
> Since v1: change the irq test to < 0
Applied, thanks.