Revision 40509ca982c00c4b70fc00be887509feca0bff15 authored by Johan Hovold on 19 March 2013, 08:21:22 UTC, committed by Greg Kroah-Hartman on 21 March 2013, 22:59:05 UTC
Use the port wait queue and make sure to check the serial disconnected
flag before accessing private port data after waking up.

This is is needed as the private port data (including the wait queue
itself) can be gone when waking up after a disconnect.

Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 8edfdab
History
File Mode Size
power
regmap
Kconfig -rw-r--r-- 10.3 KB
Makefile -rw-r--r-- 862 bytes
attribute_container.c -rw-r--r-- 12.0 KB
base.h -rw-r--r-- 4.8 KB
bus.c -rw-r--r-- 31.3 KB
class.c -rw-r--r-- 15.2 KB
core.c -rw-r--r-- 51.2 KB
cpu.c -rw-r--r-- 8.2 KB
dd.c -rw-r--r-- 15.7 KB
devres.c -rw-r--r-- 18.2 KB
devtmpfs.c -rw-r--r-- 8.8 KB
dma-buf.c -rw-r--r-- 14.4 KB
dma-coherent.c -rw-r--r-- 5.9 KB
dma-contiguous.c -rw-r--r-- 9.9 KB
dma-mapping.c -rw-r--r-- 6.6 KB
driver.c -rw-r--r-- 5.9 KB
firmware.c -rw-r--r-- 614 bytes
firmware_class.c -rw-r--r-- 35.6 KB
hypervisor.c -rw-r--r-- 544 bytes
init.c -rw-r--r-- 714 bytes
isa.c -rw-r--r-- 3.7 KB
map.c -rw-r--r-- 3.3 KB
memory.c -rw-r--r-- 18.0 KB
module.c -rw-r--r-- 1.9 KB
node.c -rw-r--r-- 18.5 KB
pinctrl.c -rw-r--r-- 1.6 KB
platform.c -rw-r--r-- 30.3 KB
soc.c -rw-r--r-- 4.1 KB
syscore.c -rw-r--r-- 3.0 KB
topology.c -rw-r--r-- 5.2 KB
transport_class.c -rw-r--r-- 9.4 KB

back to top