summaryrefslogtreecommitdiffstats
path: root/Documentation/serial
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2016-03-14 16:16:14 +0100
committerJonathan Corbet <corbet@lwn.net>2016-03-31 00:58:25 -0600
commitfbe3128bcf87723bbbaa2de26f5d1c1122c66b54 (patch)
tree3825acd7922b4deefc1fd3341819cad8e7a50ceb /Documentation/serial
parent0adc301e7b3c098744d0098008b1aa31041e220b (diff)
downloadlinux-fbe3128bcf87723bbbaa2de26f5d1c1122c66b54.tar.bz2
serial: doc: .break_ctl() is called with port->mutex() held
Note that mutex_lock() should not be called with interrupts disabled. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/serial')
-rw-r--r--Documentation/serial/driver3
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/serial/driver b/Documentation/serial/driver
index 3b08df5bcc17..09e73e061fcf 100644
--- a/Documentation/serial/driver
+++ b/Documentation/serial/driver
@@ -177,8 +177,7 @@ hardware.
should be terminated when another call is made with a zero
ctl.
- Locking: none.
- Interrupts: caller dependent.
+ Locking: caller holds port->mutex
This call must not sleep
startup(port)