linux/drivers/base
Guennadi Liakhovetski a7227a0faa PM / QoS: fix wrong error-checking condition
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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2012-11-23 20:55:06 +01:00
..
power PM / QoS: fix wrong error-checking condition 2012-11-23 20:55:06 +01:00
regmap regmap: select REGMAP if REGMAP_MMIO and REGMAP_IRQ enabled 2012-10-17 22:09:35 +09:00
attribute_container.c
base.h
bus.c
class.c
core.c
cpu.c
dd.c
devres.c
devtmpfs.c
dma-buf.c
dma-coherent.c drivers: dma-coherent: Fix typo in dma_mmap_from_coherent documentation 2012-10-23 14:05:32 +02:00
dma-contiguous.c drivers: dma-contiguous: Don't redefine SZ_1M 2012-10-23 14:05:32 +02:00
dma-mapping.c
driver.c
firmware_class.c firmware loader: sync firmware cache by async_synchronize_full_domain 2012-10-22 08:37:18 -07:00
firmware.c
hypervisor.c
init.c
isa.c
Kconfig drivers: cma: Fix wrong CMA selected region size default value 2012-10-23 14:05:33 +02:00
Makefile
map.c
memory.c memory-hotplug: update memory block's state and notify userspace 2012-10-09 16:23:02 +09:00
module.c
node.c
platform.c sparc: Add sparc support for platform_get_irq() 2012-11-09 16:30:49 -08:00
soc.c
syscore.c
topology.c
transport_class.c