pinctrl/nomadik: use zero as default irq_start
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 23 Oct 2012 07:50:17 +0000 (09:50 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 23 Oct 2012 09:52:19 +0000 (11:52 +0200)
commit832b6cdf72fdc32cacba242a749402d28f4648f0
tree2bf1a0462d862e0a541879fd215127f4f958778c
parentb4dd784ba8af03bf1f9ee5118c792d7abd4919bd
pinctrl/nomadik: use zero as default irq_start

The irqdomain semantics were supposed to be such that a linear
domain would be used if the passed first_irq was zero or
negative, but I got it wrong so only passing zero as first_irq
will work properly. Well, zero is NO_IRQ these days so let's
pass zero. The semantics of irqdomain_add_simple() will be
fixed in a separate patch.

Acked-by: Lee Jones <lee.jones@linaro.org>
Reported-by: Rikard Olsson <rikard.p.olsson@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-nomadik.c