irqchip: vic: update the base IRQ member correctly
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 24 Nov 2013 19:18:57 +0000 (20:18 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 13 Feb 2014 10:21:13 +0000 (11:21 +0100)
commit3b4df9dbd9bf27a35d5c7d36684d245518e5a939
tree5ca32ca2bda8d226233798c14aceb2ed65bf2a9b
parenta183da637c52c74ae4634355187d3fbaa1ba9763
irqchip: vic: update the base IRQ member correctly

When passing 0 as the irq base the VIC driver will dynamically
allocate a number of consecutive interrupt descriptors at some
available number range. Make sure this number is recorded in
the state container rather than the passed-in zero argument
in this case.

Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/irqchip/irq-vic.c