Re: [PATCH v2] serial: 8250_exar: Clear buffer before shutdown

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 30, 2019 at 06:13:08PM -0400, Robert Middleton wrote:
> When closing and shutting down the exar serial port, if the chip
> has not finished sending all of the data in its buffer, the
> remaining bytes will be lost.  Hold off on the shutdown until the
> bytes have all been sent.
> 
> Signed-off-by: Robert Middleton <robert.middleton@xxxxxxxxxx>
> ---
>  drivers/tty/serial/8250/8250_exar.c | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)

What changed from v1?

Always put that below the --- line, like the kernel documentation asks
you to do.  Please fix up and send a v3.

thanks,

greg k-h



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux