Felipe Balbi
b1c43f82c5
tty: make receive_buf() return the amout of bytes received
...
it makes it simpler to keep track of the amount of
bytes received and simplifies how flush_to_ldisc counts
the remaining bytes. It also fixes a bug of lost bytes
on n_tty when flushing too many bytes via the USB
serial gadget driver.
Tested-by: Stefan Bigler <stefan.bigler@keymile.com>
Tested-by: Toby Gray <toby.gray@realvnc.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-04-22 17:31:53 -07:00
..
2011-03-31 11:26:23 -03:00
2011-04-11 22:54:42 +02:00
2011-03-31 11:26:23 -03:00
2011-04-07 11:14:49 -07:00
2011-03-31 11:26:23 -03:00
2011-04-12 17:18:05 -07:00
2011-03-31 11:26:23 -03:00
2011-04-22 17:31:53 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-30 17:14:33 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-11 15:44:38 -07:00
2011-04-07 11:14:49 -07:00
2011-03-31 11:26:23 -03:00
2011-04-11 15:44:38 -07:00
2011-04-13 09:20:24 +10:00
2011-04-07 11:14:49 -07:00
2011-04-07 11:14:49 -07:00
2011-04-17 10:20:19 +02:00
2011-04-07 11:14:49 -07:00
2011-03-31 11:26:23 -03:00
2011-04-22 17:31:53 -07:00
2011-04-22 17:31:53 -07:00
2011-04-14 16:06:54 -07:00
2011-03-31 11:26:23 -03:00
2011-04-07 11:14:49 -07:00
2011-04-18 18:25:43 +10:00
2011-04-07 11:14:49 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-12 11:13:00 +02:00
2011-04-22 17:31:53 -07:00
2011-03-31 11:26:23 -03:00
2011-04-09 13:23:50 -07:00
2011-04-22 17:31:53 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-11 22:54:42 +02:00
2011-04-13 09:30:40 +08:00
2011-04-13 09:15:55 -07:00
2011-03-31 11:26:23 -03:00
2011-03-29 14:48:19 +02:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-14 16:06:56 -07:00
2011-03-31 11:26:23 -03:00
2011-04-16 09:45:08 -07:00
2011-04-08 07:36:14 -07:00
2011-03-31 11:26:23 -03:00
2011-04-18 11:41:33 +02:00
2011-03-31 11:26:23 -03:00
2011-03-30 00:15:49 +02:00
2011-04-11 15:44:38 -07:00
2011-03-31 11:26:23 -03:00
2011-04-12 15:24:23 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-22 17:31:53 -07:00
2011-03-31 11:26:23 -03:00
2011-04-14 13:37:07 -07:00
2011-03-31 11:26:23 -03:00
2011-04-12 23:07:42 +08:00
2011-03-28 19:33:04 +02:00
2011-03-31 11:26:23 -03:00
2011-04-07 20:20:24 +00:00
2011-04-12 17:18:05 -07:00