linux/drivers
Colin Cross b1d0d5fe07 PM: runtime: add might_sleep to PM runtime functions
The list of functions that can be called in atomic context is
non-intuitive (pm_runtime_put_sync can not, but
pm_runtime_put_sync_suspend can, if pm_runtime_irq_safe has
been called?).  The code is actively misleading - the entry
points all start with spin_lock_irqsave, suggesting they
are safe to call in atomic context, but may later
enable interrupts.

Add might_sleep_if to all the __pm_runtime_* entry points
to enforce correct usage.

Also add pm_runtime_put_sync_autosuspend to the list of
functions that can be called in atomic context.

Change-Id: Icac17a10d77c64d44bd2761a91a588dfd1d0c6f0
Signed-off-by: Colin Cross <ccross@android.com>
2011-09-23 20:08:51 -07:00
..
accessibility
acpi Merge branches 'd3cold', 'bugzilla-37412' and 'bugzilla-38152' into release 2011-07-14 00:16:38 -04:00
amba
ata ahci: change 'masking port_map' printk to KERN_WARNING level 2011-06-29 10:10:07 -07:00
atm
auxdisplay
base PM: runtime: add might_sleep to PM runtime functions 2011-09-23 20:08:51 -07:00
bcma
block cciss: do not attempt to read from a write-only register 2011-08-04 21:58:38 -07:00
bluetooth Bluetooth: Add Atheros AR3012 one PID/VID supported 2011-07-11 11:59:27 -07:00
cdrom
char Merge commit 'v3.0' into android-3.0 2011-08-10 18:04:30 -07:00
clk
clocksource
connector
cpufreq cpufreq: interactive: Fix handling of SMP where CPUs must scale in tandem 2011-09-15 11:04:06 -07:00
cpuidle cpuidle: governor: menu: don't use loadavg 2011-09-19 16:56:40 -07:00
crypto crypto: caam - fix operator precedence in shared descriptor allocation 2011-06-30 07:43:27 +08:00
dca
dio
dma
edac
eisa
firewire firewire: cdev: prevent race between first get_info ioctl and bus reset event queuing 2011-08-04 21:58:34 -07:00
firmware drivers/firmware/sigma.c needs MODULE_LICENSE 2011-08-04 21:58:38 -07:00
gpio gpio: wm831x: add a missing break in wm831x_gpio_dbg_show 2011-07-15 14:03:30 -06:00
gpu Merge commit 'v3.0.1' into android-3.0 2011-08-10 18:07:59 -07:00
hid HID: Add null check for hidinput. 2011-09-21 17:19:38 -07:00
hwmon hwmon: (max1111) Fix race condition causing NULL pointer exception 2011-07-17 18:39:19 +02:00
hwspinlock
i2c Merge branch 'for-30-rc5/all-i2c' of git://git.fluff.org/bjdooks/linux 2011-07-07 16:29:29 -07:00
ide
idle
ieee802154
infiniband IB/srp: Avoid duplicate devices from LUN scan 2011-08-04 21:58:34 -07:00
input input: misc: gpio; make wake irq conditional, and disable on remove paths 2011-09-12 17:28:20 -07:00
isdn
leds Merge commit 'v3.0-rc7' into android-3.0 2011-07-12 20:10:37 -07:00
lguest
macintosh
mca
md dm: fix idr leak on module removal 2011-08-04 21:58:43 -07:00
media si4713-i2c: avoid potential buffer overflow on si4713 2011-07-18 09:12:21 -07:00
memstick
message
mfd w1: ds1wm: add a reset recovery parameter 2011-07-08 21:14:44 -07:00
misc Merge commit 'v3.0.1' into android-3.0 2011-08-10 18:07:59 -07:00
mmc mmc: core: host: only use wakelock for detect work 2011-09-07 17:30:23 -07:00
mtd Merge commit 'v3.0-rc6' into android-3.0 2011-07-07 17:55:44 -07:00
net net: wireless: bcmdhd: Remove unnecessary rtnl_lock() calls 2011-09-23 13:55:58 -07:00
nfc
nubus
of
oprofile
parisc
parport
pci PCI: ARI is a PCIe v2 feature 2011-08-04 21:58:38 -07:00
pcmcia pcmcia: pxa2xx/vpac270: free gpios on exist rather than requesting 2011-07-11 14:26:34 +08:00
platform hp-wmi: fix use after free 2011-07-11 09:52:35 -04:00
pnp
power pda_power: add support for using otg transceiver events 2011-07-11 15:30:09 -07:00
pps
ps3
ptp
rapidio
regulator regulator: max8997: Fix setting inappropriate value for ramp_delay variable 2011-07-08 19:14:58 +01:00
rtc rtc alarm: fix bad index when canceling alarms[] 2011-09-07 19:49:49 -07:00
s390
sbus
scsi hpsa: do not attempt to read from a write-only register 2011-08-04 21:58:36 -07:00
sfi
sh
sn
spi spi/s3c64xx: Bug fix for SPI with different FIFO level 2011-07-06 15:03:08 +09:00
ssb ssb: fix init regression of hostmode PCI core 2011-07-07 13:06:08 -04:00
staging android: logger: bump up the logger buffer sizes 2011-08-11 21:33:35 -07:00
switch
target
tc
telephony
thermal
tty Merge commit 'v3.0.1' into android-3.0 2011-08-10 18:07:59 -07:00
uio
usb usb: gadget: android: always update the sw_connected state 2011-09-14 15:21:36 -07:00
uwb
vhost
video Merge commit 'v3.0-rc6' into android-3.0 2011-07-07 17:55:44 -07:00
virtio
vlynq
w1 w1: ds1wm: add a reset recovery parameter 2011-07-08 21:14:44 -07:00
watchdog watchdog: shwdt: fix usage of mod_timer 2011-08-04 21:58:42 -07:00
xen
zorro
Kconfig
Makefile