mfd: ucb1x00: Allow IRQ probing to work with IRQs > 32
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 30 Aug 2016 11:00:25 +0000 (12:00 +0100)
committerLee Jones <lee.jones@linaro.org>
Tue, 4 Oct 2016 14:48:02 +0000 (15:48 +0100)
commit09185a5999c733ec37220ad4a0baa7598a2044d2
tree1668bd12ee9a970af7e8d88e6a8886af7b79cb3a
parent3526403353c2a1b94c3181f900582626d23c339b
mfd: ucb1x00: Allow IRQ probing to work with IRQs > 32

probe_irq_on() only returns non-zero if it found any interrupts below
IRQ32 which could be probe candidates.  If all the probable interrupts
are higher than 32, then this will cause a failure.  Fix this.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/ucb1x00-core.c