summaryrefslogtreecommitdiff
path: root/drivers/tty/serial/mxs-auart.c
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2014-09-10 19:06:23 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-24 04:19:34 (GMT)
commit4d90bb147ef6b91f529a21b498ff2b5fdc6785b4 (patch)
treeb6ae1e41260d1591aeabc56bb54969ffb4061729 /drivers/tty/serial/mxs-auart.c
parent9a37110d20c95d1ebf6c04881177fe8f62831db2 (diff)
downloadlinux-4d90bb147ef6b91f529a21b498ff2b5fdc6785b4.tar.xz
serial: core: Document and assert lock requirements for irq helpers
The serial core provides two helper functions, uart_handle_dcd_change() and uart_handle_cts_change(), for UART drivers to use at interrupt time. The serial core expects the UART driver to hold the uart port lock when calling these helpers to prevent state corruption. If lockdep enabled, trigger a warning if the uart port lock is not held when calling these helper functions. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/mxs-auart.c')
0 files changed, 0 insertions, 0 deletions