git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
USB: tty: fix incorrect use of tty_insert_flip_string_fixed_flag
[pandora-kernel.git]
/
drivers
/
usb
/
serial
/
cypress_m8.c
diff --git
a/drivers/usb/serial/cypress_m8.c
b/drivers/usb/serial/cypress_m8.c
index
e23c779
..
582e832
100644
(file)
--- a/
drivers/usb/serial/cypress_m8.c
+++ b/
drivers/usb/serial/cypress_m8.c
@@
-1309,7
+1309,7
@@
static void cypress_read_int_callback(struct urb *urb)
/* process read if there is data other than line status */
if (tty && bytes > i) {
tty_insert_flip_string_fixed_flag(tty, data + i,
-
bytes - i, tty_flag
);
+
tty_flag, bytes - i
);
tty_flip_buffer_push(tty);
}