Re: [PATCH] Input: i8042 - i8042_flush fix for a full 8042 buffer

2013-09-18 Thread Andrey Moiseev
Nice. That should be of no interest for the outside world how much junk 8042 contained, so that's better. On Wed, Sep 18, 2013 at 6:44 PM, Dmitry Torokhov wrote: > Hi Andrey, > > On Wed, Sep 18, 2013 at 04:35:56PM +0400, Andrey Moiseev wrote: >> When 8042 internal data buffer is full, the driver

Re: [PATCH] Input: i8042 - i8042_flush fix for a full 8042 buffer

2013-09-18 Thread Dmitry Torokhov
Hi Andrey, On Wed, Sep 18, 2013 at 04:35:56PM +0400, Andrey Moiseev wrote: > When 8042 internal data buffer is full, the driver > erroneously decides that the controller is not present. > > I've already sent this 2 weeks ago, but that message received no comments. > Sorry about the delay. How

[PATCH] Input: i8042 - i8042_flush fix for a full 8042 buffer

2013-09-18 Thread Andrey Moiseev
When 8042 internal data buffer is full, the driver erroneously decides that the controller is not present. I've already sent this 2 weeks ago, but that message received no comments. i8042_flush returns the number of flushed bytes, which is in 0 - I8042_BUFFER_SIZE range inclusive. Therefore,

[PATCH] Input: i8042 - i8042_flush fix for a full 8042 buffer

2013-09-18 Thread Andrey Moiseev
When 8042 internal data buffer is full, the driver erroneously decides that the controller is not present. I've already sent this 2 weeks ago, but that message received no comments. i8042_flush returns the number of flushed bytes, which is in 0 - I8042_BUFFER_SIZE range inclusive. Therefore,

Re: [PATCH] Input: i8042 - i8042_flush fix for a full 8042 buffer

2013-09-18 Thread Dmitry Torokhov
Hi Andrey, On Wed, Sep 18, 2013 at 04:35:56PM +0400, Andrey Moiseev wrote: When 8042 internal data buffer is full, the driver erroneously decides that the controller is not present. I've already sent this 2 weeks ago, but that message received no comments. Sorry about the delay. How about

Re: [PATCH] Input: i8042 - i8042_flush fix for a full 8042 buffer

2013-09-18 Thread Andrey Moiseev
Nice. That should be of no interest for the outside world how much junk 8042 contained, so that's better. On Wed, Sep 18, 2013 at 6:44 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: Hi Andrey, On Wed, Sep 18, 2013 at 04:35:56PM +0400, Andrey Moiseev wrote: When 8042 internal data buffer

[PATCH] Input: i8042 - i8042_flush fix for a full 8042 buffer

2013-09-07 Thread Andrey Moiseev
When 8042 internal data buffer is full, the driver erroneously decides that the controller is not present. i8042_flush returns the number of flushed bytes, which is in 0 - I8042_BUFFER_SIZE range inclusive. Therefore, i8042_flush has no way to indicate an error. Moreover i8042_controller_check

[PATCH] Input: i8042 - i8042_flush fix for a full 8042 buffer

2013-09-07 Thread Andrey Moiseev
When 8042 internal data buffer is full, the driver erroneously decides that the controller is not present. i8042_flush returns the number of flushed bytes, which is in 0 - I8042_BUFFER_SIZE range inclusive. Therefore, i8042_flush has no way to indicate an error. Moreover i8042_controller_check