aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/sx8654.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-03-11 10:42:13 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-03-11 10:44:30 -0700
commitb6310affbe2bf14cbe6b6d28db48e1e37d52fbca (patch)
treeb3163f92c3c9fe4ae268f99f8ae914c01d6f8347 /drivers/input/touchscreen/sx8654.c
parentInput: elants_i2c - append hw_version to FW file (diff)
downloadlinux-dev-b6310affbe2bf14cbe6b6d28db48e1e37d52fbca.tar.xz
linux-dev-b6310affbe2bf14cbe6b6d28db48e1e37d52fbca.zip
Input: sx8654 - signedness bug in sx8654_irq()
"irqsrc" needs to be signed for the error handling to work. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/sx8654.c')
-rw-r--r--drivers/input/touchscreen/sx8654.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/sx8654.c b/drivers/input/touchscreen/sx8654.c
index 8e531ac0ecde..aecb9ad2e701 100644
--- a/drivers/input/touchscreen/sx8654.c
+++ b/drivers/input/touchscreen/sx8654.c
@@ -79,7 +79,7 @@ struct sx8654 {
static irqreturn_t sx8654_irq(int irq, void *handle)
{
struct sx8654 *sx8654 = handle;
- u8 irqsrc;
+ int irqsrc;
u8 data[4];
unsigned int x, y;
int retval;