]> bbs.cooldavid.org Git - net-next-2.6.git/commit
CRIS: Fix RS485 delay handling.
authorJesper Nilsson <jespern@axis.com>
Thu, 28 Oct 2010 10:08:27 +0000 (12:08 +0200)
committerJesper Nilsson <jespern@axis.com>
Thu, 28 Oct 2010 10:13:27 +0000 (12:13 +0200)
commitc7213fc4ed592070f1010da39b0bf0eb2395b619
treeca3124a48ecd7d29077e8e5de1d70375cea2ff0a
parent94479c017b58f69e2304d88c2826ba445cd4cd99
CRIS: Fix RS485 delay handling.

Very recently, the RS485 interface has been fixed by adding two further
fields (see commit 1b6331848b69d1ed165a6bdc75c4046d68767563).

Check the value of the flag SER_RS485_RTS_BEFORE_SEND before delaying.

Signed-off-by: Claudio Scordino <claudio@evidence.eu.com>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
drivers/serial/crisv10.c