summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAlyssa Milburn <amilburn@zall.org>2026-01-28 14:28:54 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-03-12 17:05:10 +0300
commit43c2b86ff633c34831c8430925ba73d7c20da1ad (patch)
tree0d72b10b27761a9f2a4bb9b0fc216c39095302d8 /include/linux
parent1f318b96cc84d7c2ab792fcc0bfd42a7ca890681 (diff)
downloadlinux-43c2b86ff633c34831c8430925ba73d7c20da1ad.tar.xz
tty: serial: samsung_tty: avoid dev_dbg deadlock
commit a05025d0ce72 ("tty: serial: samsung_tty: use standard debugging macros") changed the debug prints to dev_dbg, which can result in deadlocks: s3c24xx_serial_set_termios can be called with the port lock, and then calls dev_dbg, which needs the console mutex. At the same time, s3c24xx_serial_console_write can be called with the console lock (e.g., inside console_unlock), and needs the port lock. To avoid this, move one dev_dbg call and just delete the other. Signed-off-by: Alyssa Milburn <amilburn@zall.org> Link: https://patch.msgid.link/aXny9km6N1v9eoXU@zall.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions