Re: [PATCH RESEND] USB: serial: cp210x: Add tx_empty()

2015-11-19 Thread Johan Hovold
On Wed, Nov 11, 2015 at 03:47:21PM -0600, Konstantin Shkolnyy wrote: Please make the commit message self-contained even if it means repeating what callback you're implementing here. > Without this function, when the port is closed the data in the chip's > transmit FIFO are lost. If the actual byt

[PATCH RESEND] USB: serial: cp210x: Add tx_empty()

2015-11-11 Thread Konstantin Shkolnyy
Without this function, when the port is closed the data in the chip's transmit FIFO are lost. If the actual byte count is reported the close can be delayed until all data are sent. Signed-off-by: Konstantin Shkolnyy --- drivers/usb/serial/cp210x.c | 60 +++