summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorUrsula Braun2008-07-14 09:57:25 +0200
committerHeiko Carstens2008-07-14 10:01:59 +0200
commitbb0ca330a7e273cdecebae0283c9d267f60fe363 (patch)
treed5d1c3fb50c9ef53dedf5cafcd69b7b0214176be /drivers/misc
parent[S390] cio: Use locks when accessing /sys/firmware/cpi data. (diff)
downloadkernel-qcow2-linux-bb0ca330a7e273cdecebae0283c9d267f60fe363.tar.gz
kernel-qcow2-linux-bb0ca330a7e273cdecebae0283c9d267f60fe363.tar.xz
kernel-qcow2-linux-bb0ca330a7e273cdecebae0283c9d267f60fe363.zip
[S390] qdio: Repair timeout handling for qdio_shutdown
If qdio shutdown runs in parallel with a channel error, the qdio_timeout_handler might not be triggered. In this case neither state INACTIVE nor state ERR is reached and the following wait_event hangs forever. Solution: do not make use of ccw_device_set_timeout(), but add a timeout to the following wait_event. And make sure, wake_up is called in case of an i/o error on the qdio-device. Signed-off-by: Ursula Braun <braunu@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions