summaryrefslogtreecommitdiff
path: root/include/linux/kdb.h
diff options
context:
space:
mode:
authorJi-Ze Hong (Peter Hong) <hpeter@gmail.com>2019-04-30 04:22:30 +0300
committerJohan Hovold <johan@kernel.org>2019-05-03 10:19:54 +0300
commit1c6b7ab2dd0763657fc7cac562976fa01772d040 (patch)
treef34149358c77b0305ee7421432f896d4182d91dd /include/linux/kdb.h
parent804dbee1e49774918339c1e5a87400988c0819e8 (diff)
downloadlinux-1c6b7ab2dd0763657fc7cac562976fa01772d040.tar.xz
USB: serial: f81232: clear overrun flag
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@suse.com> Signed-off-by: Ji-Ze Hong (Peter Hong) <hpeter+linux_kernel@gmail.com> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'include/linux/kdb.h')
0 files changed, 0 insertions, 0 deletions