]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit415e02bd25b3c053c33db7d1228d207d81c0fb1b
tree5f424beb04b2c4a5d49ab1f3aa3276fddd61e41d
parent86234eb7f149c30b3273b47fc8f5c67066e498d0
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