summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2016-03-14 18:16:14 +0300
committerJonathan Corbet <corbet@lwn.net>2016-03-31 09:58:25 +0300
commitfbe3128bcf87723bbbaa2de26f5d1c1122c66b54 (patch)
tree3825acd7922b4deefc1fd3341819cad8e7a50ceb /Documentation
parent0adc301e7b3c098744d0098008b1aa31041e220b (diff)
downloadlinux-fbe3128bcf87723bbbaa2de26f5d1c1122c66b54.tar.xz
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')
-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)