s390/3215: fix hanging console issue
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 15 Jul 2014 15:53:12 +0000 (17:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Jan 2015 15:52:33 +0000 (07:52 -0800)
commit214a899e44b238787c5893ed5e34d2f5c62eb048
tree4a13084c74c9e3276a9963aa6871d8c338d5e899
parent1784d4766a68e0185b1aac207f409fa948c943ce
s390/3215: fix hanging console issue

commit 26d766c60f4ea08cd14f0f3435a6db3d6cc2ae96 upstream.

The ccw_device_start in raw3215_start_io can fail. raw3215_try_io
does not check if the request could be started and removes any
pending timer. This can leave the system in a hanging state.
Check for pending request after raw3215_start_io and start a
timer if necessary.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/s390/char/con3215.c