diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2016-03-14 16:16:14 +0100 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2016-03-31 00:58:25 -0600 |
commit | fbe3128bcf87723bbbaa2de26f5d1c1122c66b54 (patch) | |
tree | 3825acd7922b4deefc1fd3341819cad8e7a50ceb | |
parent | 0adc301e7b3c098744d0098008b1aa31041e220b (diff) | |
download | linux-stable-fbe3128bcf87723bbbaa2de26f5d1c1122c66b54.tar.gz linux-stable-fbe3128bcf87723bbbaa2de26f5d1c1122c66b54.tar.bz2 linux-stable-fbe3128bcf87723bbbaa2de26f5d1c1122c66b54.zip |
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>
-rw-r--r-- | Documentation/serial/driver | 3 |
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) |