Revert "tty: n_gsm: avoid call of sleeping functions from atomic context"
authorFedor Pchelkin <pchelkin@ispras.ru>
Sat, 8 Oct 2022 11:02:20 +0000 (14:02 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Dec 2022 10:23:59 +0000 (11:23 +0100)
commitb7f7a0402eb7332e1f81241368766044f40475ac
tree105e55c6dfd36e2a8ea02b7b10dfede2fa1476b6
parent481f9ed8ebdcca43064813c220c1c2835102b1a9
Revert "tty: n_gsm: avoid call of sleeping functions from atomic context"

commit acdab4cb4ba7e5f94d2b422ebd7bf4bf68178fb2 upstream.

This reverts commit 902e02ea9385373ce4b142576eef41c642703955.

The above commit is reverted as the usage of tx_mutex seems not to solve
the problem described in 902e02ea9385 ("tty: n_gsm: avoid call of sleeping
functions from atomic context") and just moves the bug to another place.

Signed-off-by: Fedor Pchelkin <pchelkin@ispras.ru>
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Reviewed-by: Daniel Starke <daniel.starke@siemens.com>
Link: https://lore.kernel.org/r/20221008110221.13645-2-pchelkin@ispras.ru
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_gsm.c