Re: [PATCH] tty: serial: uartlite: Specify time for sending chars

2014-05-05 Thread Michal Simek
On 05/05/2014 09:42 PM, Peter Korsgaard wrote: >> "Michal" == Michal Simek writes: > > Hi, > > >> > diff --git a/drivers/tty/serial/uartlite.c > b/drivers/tty/serial/uartlite.c > >> > index 5f90ef24d475..723a6b79cd14 100644 > >> > --- a/drivers/tty/serial/uartlite.c > >> > +++ b/drivers

Re: [PATCH] tty: serial: uartlite: Specify time for sending chars

2014-05-05 Thread Peter Korsgaard
> "Michal" == Michal Simek writes: Hi, >> > diff --git a/drivers/tty/serial/uartlite.c b/drivers/tty/serial/uartlite.c >> > index 5f90ef24d475..723a6b79cd14 100644 >> > --- a/drivers/tty/serial/uartlite.c >> > +++ b/drivers/tty/serial/uartlite.c >> > @@ -418,14 +418,20 @@ static struct

Re: [PATCH] tty: serial: uartlite: Specify time for sending chars

2014-05-05 Thread Michal Simek
On 05/05/2014 05:03 PM, Peter Korsgaard wrote: >> "Michal" == Michal Simek writes: > > > 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. > >

Re: [PATCH] tty: serial: uartlite: Specify time for sending chars

2014-05-05 Thread Peter Korsgaard
> "Michal" == Michal Simek writes: > 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. > Sign