On Wed, Mar 12, 2014 at 2:35 PM,  <[email protected]> wrote:

> From: Srinivas Kandagatla <[email protected]>
>
> This patch fixes an error check while using of_irq_to_resource.
> of_irq_to_resource returns non-zero interrupt number on success and zero
> on error. The driver was using error check is wrong way.
>
> Without this patch the driver will configure interrupt zero if there is
> no interrupt specified in the node.
>
> Signed-off-by: Srinivas Kandagatla <[email protected]>

Patch applied.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to