diff options
author | Vernon Sauder <vernoninhand@gmail.com> | 2008-04-21 12:13:21 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-04-24 13:25:24 -0400 |
commit | 48bdce4a2e0b1d3be6ed6da14d25adfe9385d2dc (patch) | |
tree | 0ae11ac356f56415cce671b29d60b723d253eaa0 /drivers/input | |
parent | a22b4b2f408f7958ffb3a9e62defc5168db1e15e (diff) | |
download | op-kernel-dev-48bdce4a2e0b1d3be6ed6da14d25adfe9385d2dc.zip op-kernel-dev-48bdce4a2e0b1d3be6ed6da14d25adfe9385d2dc.tar.gz |
Input: ucb1400_ts - IRQ probe fix
The UCB1400 driver IRQ probe code fails to find an interrupt if all
the interrupts in the range 0-31 are nonprobe-able. This patch
removes the check of the return value so interrupts above 31 can be
detected.
Tested on InHand Fingertip4 PXA270 board.
Signed-off-by: Vernon Sauder <vsauder@inhand.com>
Acked-by: Nicolas Pitre <nico@marvell.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/touchscreen/ucb1400_ts.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/input/touchscreen/ucb1400_ts.c b/drivers/input/touchscreen/ucb1400_ts.c index 607f993..bce018e 100644 --- a/drivers/input/touchscreen/ucb1400_ts.c +++ b/drivers/input/touchscreen/ucb1400_ts.c @@ -427,10 +427,6 @@ static int ucb1400_detect_irq(struct ucb1400 *ucb) unsigned long mask, timeout; mask = probe_irq_on(); - if (!mask) { - probe_irq_off(mask); - return -EBUSY; - } /* Enable the ADC interrupt. */ ucb1400_reg_write(ucb, UCB_IE_RIS, UCB_IE_ADC); |