]> Pileus Git - ~andy/linux/commit
Input: da9052_onkey - use correct register bit for key status
authorAnthony Olech <anthony.olech.opensource@diasemi.com>
Mon, 17 Feb 2014 19:23:39 +0000 (11:23 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 17 Feb 2014 19:29:01 +0000 (11:29 -0800)
commit70b0052425ffd549bb27fb08649a4d30daaf40e4
tree8c5fd35e8209f2cb4eeb4542fea8782b54f4e88c
parent910a9f5636f5c128c02bf9ccd71ac03325700b57
Input: da9052_onkey - use correct register bit for key status

The wrong register bit of the DA9052/3 PMIC registers was
used to determine the status on the ONKEY.

Also a failure in reading the status register will no longer
result in the work queue being rescheduled as that would result
in a (potentially) endless retry.

Signed-off-by: Anthony Olech <anthony.olech.opensource@diasemi.com>
Acked-by: David Dajun Chen <david.chen@diasemi.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/da9052_onkey.c