android_kernel_google_msm/drivers
Rafael J. Wysocki c14560eb73 PM / Sleep: Use wait queue to signal "no wakeup events in progress"
The current wakeup source deactivation code doesn't do anything when
the counter of wakeup events in progress goes down to zero, which
requires pm_get_wakeup_count() to poll that counter periodically.
Although this reduces the average time it takes to deactivate a
wakeup source, it also may lead to a substantial amount of unnecessary
polling if there are extended periods of wakeup activity.  Thus it
seems reasonable to use a wait queue for signaling the "no wakeup
events in progress" condition and remove the polling.

Change-Id: I19bfca1a13fa3d7437c7207575a4ebde60ad25cd
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: mark gross <markgross@thegnar.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: 60af106691
Git-repo: git://codeaurora.org/kernel/msm.git
Signed-off-by: Anurag Singh <anursing@codeaurora.org>
2017-10-15 15:46:51 +03:00
..
accessibility
acpi
amba
ata
atm
auxdisplay
base PM / Sleep: Use wait queue to signal "no wakeup events in progress" 2017-10-15 15:46:51 +03:00
bcma
block
bluetooth
cdrom
char mm: Tighten x86 /dev/mem with zeroing reads 2017-07-04 12:34:19 +03:00
clk
clocksource
connector
coresight coresight: do not probe if cpu is not online 2013-03-15 17:09:34 -07:00
cpufreq cpufreq: Notify governors when cpus are hot-[un]plugged 2016-10-29 23:12:26 +08:00
cpuidle
crypto msm: crypto: set CLR_CNTXT bit for crypto operations 2017-05-03 12:22:18 -06:00
dca
devfreq
dio
dma
edac
eisa
firewire
firmware
gpio gpio: msm-common: Fix irq_set_type for dual edge trigger 2013-06-25 21:28:40 +00:00
gpu ANDROID: ion: Protect kref from userspace manipulation 2017-07-04 01:17:16 +03:00
gud
hid hid: usbhid: Changes to prevent buffer overflow 2017-07-17 05:09:13 +00:00
hsi
hv
hwmon hwmon: epm_adc: Fix potential dereference 2016-10-29 23:12:34 +08:00
hwspinlock
i2c
ide
idle
ieee802154
infiniband fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
input input: touchscreen: ektf3k: replace earlysuspend with fb notifier callbacks 2017-10-10 15:26:21 +03:00
iommu msm: iommu: Fix NULL pointer dereference 2016-10-29 23:12:33 +08:00
isdn
leds display: JDI: config backlight level when kernel init 2013-04-18 16:09:22 -07:00
lguest
macintosh
mca
md md: use kzalloc() when bitmap is disabled 2016-10-31 22:27:40 +11:00
media msm: camera: sensor: Validate eeprom_name string length 2017-06-26 21:24:23 +03:00
memstick
message
mfd random: remove rand_initialize_irq() 2013-09-09 17:01:42 -07:00
misc fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
mmc mmc: card: fix arbitrary write via read handler in mmc_block_test 2017-06-26 17:41:36 +03:00
mtd fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
net ppp: take reference on channels netns 2016-10-29 23:12:37 +08:00
nfc Remove a workaround since BCM20793 chip default is 7 bits address. 2013-04-18 16:07:56 -07:00
nubus
of
oprofile fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
parisc
parport
pci
pcmcia
pinctrl
platform msm: Change the permissions of sps debug files 2013-06-07 11:25:53 -07:00
pnp
power power: bq27541: cancel poll work first to prevent querying gauge interleaved 2013-12-12 23:04:27 +00:00
pps
ps3
ptp
rapidio
regulator
remoteproc iommu/core: pass a user-provided token to fault handlers 2013-09-06 16:20:47 -07:00
rpmsg
rtc drivers: rtc: remove leftovers of old alarm drivers 2017-08-25 20:00:24 +03:00
s390
sbus
scsi sg_start_req(): make sure that there's not too many elements in iovec 2017-08-07 18:10:23 -06:00
sfi
sh
slimbus
sn
spi
spmi
ssb
staging drivers: staging: binder: add missing SIZE_MAX declaration 2017-08-25 20:00:24 +03:00
switch switch: Reset device's drvdata before destroying it 2013-03-15 17:13:04 -07:00
target
tc
thermal thermal: pm8xxx-tm: Add configuration option for allowing shutdown override 2013-03-15 17:08:32 -07:00
tty tty: n_hdlc: get rid of racy n_hdlc.tbuf 2017-07-02 12:57:10 +03:00
uio Fix a few incorrectly checked [io_]remap_pfn_range() calls 2014-07-15 17:06:52 -07:00
usb fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
uwb
vhost
video drivers: video: Add bounds checking in fb_cmap_to_user 2016-12-22 22:05:10 +11:00
virt
virtio
vlynq
w1
watchdog
xen fs: Limit sys_mount to only request filesystem modules. 2017-09-22 19:12:20 +03:00
zorro
Kconfig
Makefile drivers: usb: otg: Report the charger type and enable the USB host mode according to the ID pin status and the SlimPort status. 2013-04-18 16:07:58 -07:00