X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=drivers%2Finput%2Ftouchscreen%2Fucb1400_ts.c;h=bce018e45bce4781cb7b61519485502ff8c22171;hb=48bdce4a2e0b1d3be6ed6da14d25adfe9385d2dc;hp=7549939b9535634de87ddb09a829b186758303e0;hpb=ec2626815bf9a9922e49820b03e670e833f3ca3c;p=~andy%2Flinux diff --git a/drivers/input/touchscreen/ucb1400_ts.c b/drivers/input/touchscreen/ucb1400_ts.c index 7549939b953..bce018e45bc 100644 --- a/drivers/input/touchscreen/ucb1400_ts.c +++ b/drivers/input/touchscreen/ucb1400_ts.c @@ -15,7 +15,6 @@ */ #include -#include #include #include #include @@ -27,7 +26,6 @@ #include #include -#include #include #include @@ -429,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);