mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-01 19:26:45 +07:00
USB: ftdi_sio.c: Fill the RX field of the ftdi async_icount structure
Signed-off-by: Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
c75ccd4812
commit
c9222ec92e
@ -1984,6 +1984,7 @@ static int ftdi_process_packet(struct tty_struct *tty,
|
||||
len -= 2;
|
||||
if (!len)
|
||||
return 0; /* status only */
|
||||
priv->icount.rx += len;
|
||||
ch = packet + 2;
|
||||
|
||||
if (port->port.console && port->sysrq) {
|
||||
|
Loading…
Reference in New Issue
Block a user