summaryrefslogtreecommitdiff
path: root/kernel/locking/mutex-debug.c
diff options
context:
space:
mode:
authorAbhijeet Dharmapurikar <adharmap@codeaurora.org>2017-07-27 16:08:02 -0700
committerAbhijeet Dharmapurikar <adharmap@codeaurora.org>2017-07-31 19:28:00 -0700
commitcbff20cc9a467e23f7c6d0e8107e73c68cbaa046 (patch)
treeb40c857a6451cb5a33e944eaa2278a6d9e41af9e /kernel/locking/mutex-debug.c
parent354e7f16bd12c5b01b6a0cefef210e74edce20ec (diff)
qpnp-qnovo: add debounce for charger
The request is to delay ok_to_qnovo for 15 seconds after a charger is inserted. To achive that: Make ok_to_qnovo variable as a votable that can be voted on by A. HW error conditions B. Charger is ready after debounce Moreover since there could be two chargers -usb and dc, create another votable to track their individual debounce states. The result of this votable will feed in to ok_to_qnovo votable as branch B above. Also since we need to stay awake for the debounce time, create an awake_votable and vote on it while debounce on either usb or dc is in progress. Change-Id: I32dc07ba16ef0515a9683f2702d317c39baa2eba Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Diffstat (limited to 'kernel/locking/mutex-debug.c')
0 files changed, 0 insertions, 0 deletions