]> Pileus Git - ~andy/linux/commitdiff
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)
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>

No differences found