From: Nicolas Ferre Date: Mon, 11 May 2015 11:00:31 +0000 (+0200) Subject: tty/serial: at91: RS485 mode: 0 is valid for delay_rts_after_send X-Git-Tag: v3.2.71~97 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f312564391d123f530d30ea4d1d9431dd7f5a6dc;p=pandora-kernel.git tty/serial: at91: RS485 mode: 0 is valid for delay_rts_after_send commit 8687634b7908c42eb700e0469e110e02833611d1 upstream. In RS485 mode, we may want to set the delay_rts_after_send value to 0. In the datasheet, the 0 value is said to "disable" the Transmitter Timeguard but this is exactly the expected behavior if we want no delay... Moreover, if the value was set to non-zero value by device-tree or earlier ioctl command, it was impossible to change it back to zero. Reported-by: Sami Pietikäinen Signed-off-by: Nicolas Ferre Signed-off-by: Greg Kroah-Hartman [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed