tty: serial: uartlite: Specify time for sending chars
authorMichal Simek <michal.simek@xilinx.com>
Tue, 6 May 2014 04:46:15 +0000 (06:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 May 2014 19:24:31 +0000 (12:24 -0700)
commitd3352154041e28cf8c1c260cca41d8e83d5377d8
treed7ff0426499201491c308564ee592877e9b064e8
parentac62391496cf1ace051c4daebb00f7435320f11f
tty: serial: uartlite: Specify time for sending chars

Xilinx MDM (Microblaze Debug Module) also contains
uart interface via JTAG which is compatible with
uartlite driver. This interface is really slow
that's why timeout is setup to 1s.

Make this time delay not to be cpu speed dependent.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/uartlite.c