diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2014-09-10 15:06:23 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-23 21:19:34 -0700 |
commit | 4d90bb147ef6b91f529a21b498ff2b5fdc6785b4 (patch) | |
tree | b6ae1e41260d1591aeabc56bb54969ffb4061729 /drivers/isdn | |
parent | 9a37110d20c95d1ebf6c04881177fe8f62831db2 (diff) |
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/isdn')
0 files changed, 0 insertions, 0 deletions