aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2022-03-08 12:51:53 +0100
committerGreg Kroah-Hartman <[email protected]>2022-03-18 13:13:36 +0100
commit988c7c00691008ea1daaa1235680a0da49dab4e8 (patch)
treee81ae27f0f13bf912d670c462dc3e09e989530f5 /net/lapb/lapb_subr.c
parent4f6f194f2be43c1df9ad031de86cdaffa5c8084d (diff)
serial: samsung_tty: do not unlock port->lock for uart_write_wakeup()
The commit c15c3747ee32 (serial: samsung: fix potential soft lockup during uart write) added an unlock of port->lock before uart_write_wakeup() and a lock after it. It was always problematic to write data from tty_ldisc_ops::write_wakeup and it was even documented that way. We fixed the line disciplines to conform to this recently. So if there is still a missed one, we should fix them instead of this workaround. On the top of that, s3c24xx_serial_tx_dma_complete() in this driver still holds the port->lock while calling uart_write_wakeup(). So revert the wrap added by the commit above. Cc: Thomas Abraham <[email protected]> Cc: Kyungmin Park <[email protected]> Cc: Hyeonkook Kim <[email protected]> Signed-off-by: Jiri Slaby <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions