Input: cma3000_d0x - fix signedness bug in cma3000_thread_irq()
authorXi Wang <xi.wang@gmail.com>
Mon, 12 Dec 2011 07:40:56 +0000 (23:40 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 12 Dec 2011 08:01:02 +0000 (00:01 -0800)
commit3a7f8fb1d8c9b6a066b0452cea47c85547c97723
treea19b49539c47ce77f84a85e6abb685a7198acdce
parent0d0e3064a88cc8d6bd3a9b43c5ae069ca838fc6e
Input: cma3000_d0x - fix signedness bug in cma3000_thread_irq()

The error check (intr_status < 0) didn't work because intr_status is
a u8.  Change its type to signed int.

Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/misc/cma3000_d0x.c