From 2f4baed0d6dce026e24113e41f06e67c8b0c163f Mon Sep 17 00:00:00 2001 From: Oliver Wang Date: Tue, 20 Aug 2013 16:07:26 +0800 Subject: [PATCH] input:sensor: fix unbalanced irq when first enable mpu3050 The irq should be disabled after request_irq to avoid unbalanced irq. Change-Id: Ic33c9061599a851072febac1bcc374b232644779 Signed-off-by: Oliver Wang Signed-off-by: Mallesh Koujalagi --- drivers/input/misc/mpu3050.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/misc/mpu3050.c b/drivers/input/misc/mpu3050.c index e0d8a472131..1537866e67e 100644 --- a/drivers/input/misc/mpu3050.c +++ b/drivers/input/misc/mpu3050.c @@ -796,6 +796,7 @@ static int __devinit mpu3050_probe(struct i2c_client *client, client->irq, error); goto err_pm_set_suspended; } + disable_irq(client->irq); } error = input_register_device(idev);