From: Geert Uytterhoeven Date: Mon, 14 Mar 2016 15:16:14 +0000 (+0100) Subject: serial: doc: .break_ctl() is called with port->mutex() held X-Git-Tag: v4.14-rc1~3203^2~34 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fbe3128bcf87723bbbaa2de26f5d1c1122c66b54;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Jonathan Corbet --- diff --git a/Documentation/serial/driver b/Documentation/serial/driver index 3b08df5b..09e73e0 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)