]> git.baikalelectronics.ru Git - kernel.git/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>
Wed, 26 Mar 2014 20:33:09 +0000 (13:33 -0700)
commit7046650c02018924075ae23859727e034ad1c67d
tree5f424beb04b2c4a5d49ab1f3aa3276fddd61e41d
parent0b6b363144adbdcc1bbbe8b9551a0478a56c4c75
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