s390/con3270: return from notifier when activate view fails
authorSven Schnelle <svens@linux.ibm.com>
Wed, 7 Dec 2022 21:18:38 +0000 (22:18 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 9 Jan 2023 13:34:06 +0000 (14:34 +0100)
commit9975fde09e50b9ac9bab49cafac4ebc32cf4044c
tree8cb2f9b87d560245fbb317576cb003ffbb815e4c
parentfe5e23dd983cc3e676f2f9355796e2505d889ce4
s390/con3270: return from notifier when activate view fails

When activating the view fails (in this case because the 3270
is disconnected) return from the notifer callback. Otherwise
the system will deadlock.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/char/con3270.c