android_kernel_google_msm/drivers
Guennadi Liakhovetski c4e9e58007 PM / QoS: fix wrong error-checking condition
commit a7227a0faa upstream.

dev_pm_qos_add_request() can return 0, 1, or a negative error code,
therefore the correct error test is "if (error < 0)." Checking just for
non-zero return code leads to erroneous setting of the req->dev pointer
to NULL, which then leads to a repeated call to
dev_pm_qos_add_ancestor_request() in st1232_ts_irq_handler(). This in turn
leads to an Oops, when the I2C host adapter is unloaded and reloaded again
because of the inconsistent state of its QoS request list.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-12-03 11:47:10 -08:00
..
accessibility
acpi ACPI video: Ignore errors after _DOD evaluation. 2012-11-26 11:38:44 -08:00
amba
ata libata: Prevent interface errors with Seagate FreeAgent GoFlex 2012-10-02 10:30:35 -07:00
atm solos-pci: Fix DMA support 2012-06-10 00:36:08 +09:00
auxdisplay
base PM / QoS: fix wrong error-checking condition 2012-12-03 11:47:10 -08:00
bcma bcma: fix unregistration of cores 2012-10-31 10:03:02 -07:00
block NVMe: Fix uninitialized iod compiler warning 2012-12-03 11:46:36 -08:00
bluetooth Bluetooth: Add support for Apple vendor-specific devices 2012-10-02 10:30:34 -07:00
cdrom
char tpm: Propagate error from tpm_transmit to fix a timeout hang 2012-10-21 09:28:01 -07:00
clk clk: Check parent for NULL in clk_change_rate 2012-07-19 08:58:59 -07:00
clocksource
connector
cpufreq cpufreq / powernow-k8: Remove usage of smp_processor_id() in preemptible code 2012-10-31 10:03:03 -07:00
cpuidle
crypto
dca
devfreq
dio
dma dmaengine: imx-dma: fix missing unlock on error in imxdma_xfer_desc() 2012-10-31 10:03:02 -07:00
edac amd64_edac:__amd64_set_scrub_rate(): avoid overindexing scrubrates[] 2012-10-28 10:14:15 -07:00
eisa
firewire firewire: cdev: fix user memory corruption (i386 userland on amd64 kernel) 2012-10-21 09:27:58 -07:00
firmware firmware: Add missing attributes to EFI variable attribute print out from sysfs 2012-10-07 08:32:26 -07:00
gpio gpiolib: Don't return -EPROBE_DEFER to sysfs, or for invalid gpios 2012-11-05 09:50:41 +01:00
gpu radeon: add AGPMode 1 quirk for RV250 2012-12-03 11:47:09 -08:00
hid HID: microsoft: fix invalid rdesc for 3k kbd 2012-11-05 09:50:42 +01:00
hsi
hv Drivers: hv: Cleanup error handling in vmbus_open() 2012-10-31 10:02:58 -07:00
hwmon hwmon: (w83627ehf) Force initial bank selection 2012-11-17 13:16:12 -08:00
hwspinlock hwspinlock/core: use global ID to register hwspinlocks on multiple devices 2012-07-16 09:04:25 -07:00
i2c i2c-i801: Add Device IDs for Intel Lynx Point-LP PCH 2012-09-14 10:00:33 -07:00
ide
idle
ieee802154
infiniband infiniband: pass rdma_cm module to netlink_dump_start 2012-10-28 10:14:15 -07:00
input Input: tsc40 - remove wrong announcement of pressure support 2012-11-17 13:15:55 -08:00
iommu iommu/tegra: smmu: Fix deadly typo 2012-10-28 10:14:15 -07:00
isdn isdnloop: fix and simplify isdnloop_init() 2012-10-02 10:29:35 -07:00
leds drivers/leds/leds-lp5521.c: fix lp5521_read() error handling 2012-12-03 11:46:36 -08:00
lguest
macintosh
mca
md dm: fix deadlock with request based dm and queue request_fn recursion 2012-12-03 11:47:07 -08:00
media media: au0828: fix case where STREAMOFF being called on stopped stream causes BUG() 2012-10-28 10:14:15 -07:00
memstick
message
mfd mfd: max8925: Move _IO resources out of ioport_ioresource 2012-10-13 05:38:38 +09:00
misc drivers/misc/sgi-xp/xpc_uv.c: SGI XPC fails to load when cpu 0 is out of IRQ resources 2012-10-02 10:30:22 -07:00
mmc mmc: sdhci: fix NULL dereference in sdhci_request() tuning 2012-11-17 13:16:33 -08:00
mtd mtd: ofpart: Fix incorrect NULL check in parse_ofoldpart_partitions() 2012-12-03 11:47:06 -08:00
net can: peak_usb: fix hwtstamp assignment 2012-12-03 11:47:09 -08:00
nfc
nubus
of
oprofile oprofile: perf: use NR_CPUS instead or nr_cpumask_bits for static array 2012-07-16 09:04:21 -07:00
parisc
parport
pci PCI: Check P2P bridge for invalid secondary/subordinate range 2012-10-13 05:38:48 +09:00
pcmcia pcmcia: sharpsl: don't discard sharpsl_pcmcia_ops 2012-10-28 10:14:13 -07:00
pinctrl pinctrl: tegra: set low power mode bank width to 2 2012-10-28 10:14:14 -07:00
platform asus-nb-wmi: add some video toggle keys 2012-10-02 10:30:23 -07:00
pnp
power
pps
ps3
ptp
rapidio rapidio/tsi721: fix unused variable compiler warning 2012-09-14 10:00:20 -07:00
regulator regulator: twl-regulator: fix up VINTANA1/VINTANA2 2012-09-14 10:00:21 -07:00
remoteproc remoteproc: fix a potential NULL-dereference on cleanup 2012-10-07 08:32:28 -07:00
rpmsg rpmsg: fix dependency on initialization order 2012-07-19 08:58:57 -07:00
rtc drivers/rtc/rtc-imxdi.c: add missing spin lock initialization 2012-10-31 10:02:56 -07:00
s390 SCSI: zfcp: only access zfcp_scsi_dev for valid scsi_device 2012-10-13 05:38:47 +09:00
sbus
scsi SCSI: isci: copy fis 0x34 response into proper buffer 2012-12-03 11:46:49 -08:00
sfi
sh
sn
spi spi/pl022: disable port when unused 2012-08-09 08:31:38 -07:00
ssb
staging Revert "Staging: Android alarm: IOCTL command encoding fix" 2012-11-26 11:37:44 -08:00
target target: Fix incorrect usage of nested IRQ spinlocks in ABORT_TASK path 2012-11-17 13:15:55 -08:00
tc
thermal
tty Revert "serial: omap: fix software flow control" 2012-11-26 11:38:44 -08:00
uio
usb usb: use usb_serial_put in usb_serial_probe errors 2012-11-26 11:37:49 -08:00
uwb
vhost vhost: fix mergeable bufs on BE hosts 2012-10-31 10:03:01 -07:00
video viafb: don't touch clock state on OLPC XO-1.5 2012-10-21 09:27:59 -07:00
virt
virtio
vlynq
w1
watchdog hpwdt: Fix kdump issue in hpwdt 2012-10-02 10:30:08 -07:00
xen xen/events: fix RCU warning, or Call idle notifier after irq_enter() 2012-11-26 11:37:47 -08:00
zorro
Kconfig
Makefile