aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/mxser_new.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/mxser_new.c')
-rw-r--r--drivers/char/mxser_new.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/char/mxser_new.c b/drivers/char/mxser_new.c
index 9af07e4999d5..59e0aac19c2f 100644
--- a/drivers/char/mxser_new.c
+++ b/drivers/char/mxser_new.c
@@ -2230,7 +2230,14 @@ end_intr:
2230 port->mon_data.rxcnt += cnt; 2230 port->mon_data.rxcnt += cnt;
2231 port->mon_data.up_rxcnt += cnt; 2231 port->mon_data.up_rxcnt += cnt;
2232 2232
2233 /*
2234 * We are called from an interrupt context with &port->slock
2235 * being held. Drop it temporarily in order to prevent
2236 * recursive locking.
2237 */
2238 spin_unlock(&port->slock);
2233 tty_flip_buffer_push(tty); 2239 tty_flip_buffer_push(tty);
2240 spin_lock(&port->slock);
2234} 2241}
2235 2242
2236static void mxser_transmit_chars(struct mxser_port *port) 2243static void mxser_transmit_chars(struct mxser_port *port)