mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
USB: ftdi_sio.c: Fill the RX field of the ftdi async_icount structure
Signed-off-by: Uwe Bonnes <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
c75ccd4812
commit
c9222ec92e
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue