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, 3 Nov 2022 03:12:09 +0000 (04:12 +0100)
commitacdab4cb4ba7e5f94d2b422ebd7bf4bf68178fb2
tree005e8f480e88387e37baae094814c0a3ed149c82
parent4561d8008a467cb05ac632a215391d6b787f40aa
Revert "tty: n_gsm: avoid call of sleeping functions from atomic context"

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