s390/3215: fix hanging console issue
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 15 Jul 2014 15:53:12 +0000 (17:53 +0200)
committerDanny Wood <danwood76@gmail.com>
Tue, 29 Jan 2019 13:06:07 +0000 (13:06 +0000)
commitacabb3e97c2d9fd98344951a60f676f4e484beb6
treec63d7deb5697016a73ed39936decaea8f06cb10c
parent7d2de70fcdb533b03529d376c96ae81b5d364779
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