summaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/mpu3050.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2013-11-11 08:31:17 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-11-11 09:01:44 +0100
commita108193cf9685061660e111f985594d6a344abfb (patch)
tree3cd3450cbf111605a94b2e2491c3fa2d9b0f9b09 /drivers/input/misc/mpu3050.c
parentInput: add driver for Neonode zForce based touchscreens (diff)
downloadlinux-a108193cf9685061660e111f985594d6a344abfb.tar.xz
linux-a108193cf9685061660e111f985594d6a344abfb.zip
Input: tnetv107x-keypad - make irqs signed for error handling
There is a bug in keypad_probe() where we do: kp->irq_press = platform_get_irq_byname(pdev, "press"); kp->irq_release = platform_get_irq_byname(pdev, "release"); if (kp->irq_press < 0 || kp->irq_release < 0) { The problem is that these irq variables are unsigned so the error handling doesn't work. I've changed them to signed values. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc/mpu3050.c')
0 files changed, 0 insertions, 0 deletions