Skip to content

Commit

Permalink
serial: doc: .break_ctl() is called with port->mutex() held
Browse files Browse the repository at this point in the history
Note that mutex_lock() should not be called with interrupts disabled.

Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
  • Loading branch information
geertu authored and Jonathan Corbet committed Mar 31, 2016
1 parent 0adc301 commit fbe3128
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Documentation/serial/driver
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fbe3128

Please sign in to comment.