diff options
| author | Russell King <rmk@flint.arm.linux.org.uk> | 2002-07-27 13:27:42 +0100 |
|---|---|---|
| committer | Russell King <rmk@flint.arm.linux.org.uk> | 2002-07-27 13:27:42 +0100 |
| commit | 166c0fe87b9d5592fe58d51d8d32337cfa0a0eea (patch) | |
| tree | 612085e7e4f0bd75b028196cec7700b8deb38ddb /Documentation | |
| parent | c75efab2e7bff509b22cfce9ccbbca33aee375f6 (diff) | |
[SERIAL] Locking fixup (part 1)
After the last few days of debugging, we've ended up with the caller
of the start_tx and stop_tx methods taking the per-port lock. This
cset and the accompanying csets make the same change to some of the
other methods for consistency reasons. Since these methods don't
contain a lot of code, it is better that they have consistent locking
rules.
This cset fixes up the stop_rx method.
Diffstat (limited to 'Documentation')
| -rw-r--r-- | Documentation/serial/driver | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/serial/driver b/Documentation/serial/driver index 637c89effb5b..6e06d1d4995a 100644 --- a/Documentation/serial/driver +++ b/Documentation/serial/driver @@ -138,8 +138,8 @@ hardware. Stop receiving characters; the port is in the process of being closed. - Locking: none. - Interrupts: caller dependent. + Locking: port->lock taken. + Interrupts: locally disabled. This call must not sleep enable_ms(port) |
