No description
  • C 98.2%
  • Assembly 1%
  • Makefile 0.3%
  • Shell 0.2%
  • Python 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Yonghua Yan 809a55ee88 power: battery wakelock prevents system suspending
This issue is due to the race between power_supply_changed()
and smb_mmi_power_supply_changed().

First, power_supply_changed() holds the battery wakelock and
releases the wakelock if battery supply change work is scheduled.

And then, qpnp-smbcharger-mmi driver set the supply changed flag
to be true, call smb_mmi_power_supply_changed() and wait for
battery supply change work completion, where it does not release
the wakelock as the supply changed flag becomes true.

Finally, the battery wakelock will not be released any more.

Change-Id: I57f4728cb6510acce004d5d84489695035c10eaf
Signed-off-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1357520
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
2019-05-21 20:43:58 -05:00
Documentation/devicetree/bindings audio: remove Cirrus code to vendor/cirrus/audio/dlkm 2019-05-20 21:39:12 -05:00
drivers power: battery wakelock prevents system suspending 2019-05-21 20:43:58 -05:00
fs/exfat exfat: avoid uniname accessing invalid address 2019-01-08 20:40:12 -06:00
include audio: remove Cirrus code to vendor/cirrus/audio/dlkm 2019-05-20 21:39:12 -05:00
sound/soc/codecs NXP patch to fix earpiece no sound issue 2019-05-21 04:28:12 -05:00
AndroidKernelModule.mk motorola: dlkm: Initial AndroidKernelModule.mk 2017-12-05 11:26:05 -06:00