serial: doc: .break_ctl() is called with port->mutex() held
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 14 Mar 2016 15:16:14 +0000 (16:16 +0100)
committerJonathan Corbet <corbet@lwn.net>
Thu, 31 Mar 2016 06:58:25 +0000 (00:58 -0600)
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>
Documentation/serial/driver

index 3b08df5..09e73e0 100644 (file)
@@ -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)