]> git.baikalelectronics.ru Git - kernel.git/commit
s390/3215: fix hanging console issue
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 15 Jul 2014 15:53:12 +0000 (17:53 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 28 Jul 2014 08:02:39 +0000 (10:02 +0200)
commitde909e27ac657a180afd0ba04de53ef05c7f6ea2
treeae07e275a923cb86018da35c1cb0ef984bfb4a00
parent64d0ea0030810482f03ee5c3df27240c2836139d
s390/3215: fix hanging console issue

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>
drivers/s390/char/con3215.c