[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190329144051.GA12562@localhost>
Date: Fri, 29 Mar 2019 15:40:51 +0100
From: Johan Hovold <johan@...nel.org>
To: "Ji-Ze Hong (Peter Hong)" <hpeter@...il.com>
Cc: peter_hong@...tek.com.tw, johan@...nel.org,
gregkh@...uxfoundation.org, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org,
"Ji-Ze Hong (Peter Hong)" <hpeter+linux_kernel@...il.com>,
Oliver Neukum <oneukum@...e.com>
Subject: Re: [PATCH V3 1/3] USB: serial: f81232: clear overrun flag
On Fri, Mar 29, 2019 at 04:28:40PM +0800, Ji-Ze Hong (Peter Hong) wrote:
> The F81232 will report data and LSR with bulk like following format:
> bulk-in data: [LSR(1Byte)+DATA(1Byte)][LSR(1Byte)+DATA(1Byte)]...
>
> LSR will auto clear frame/parity/break error flag when reading by H/W,
> but overrrun will only cleared when reading LSR. So this patch add a
> worker to read LSR when overrun and flush the worker on close() &
> suspend().
>
> Cc: Oliver Neukum <oneukum@...e.com>
> Signed-off-by: Ji-Ze Hong (Peter Hong) <hpeter+linux_kernel@...il.com>
> ---
What changed since v2? Please always make sure to include a changelog
here below the cut-off line.
Thanks,
Johan
Powered by blists - more mailing lists