linux-sg2042/drivers/net/caif
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
..
Kconfig caif-u5500: Build config for CAIF shared mem driver 2010-10-27 12:29:53 -07:00
Makefile net: change to new flag variable 2011-03-17 14:05:35 +01:00
caif_serial.c tty: make receive_buf() return the amout of bytes received 2011-04-22 17:31:53 -07:00
caif_shm_u5500.c Merge branch 'ux500-core' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson into devel-stable 2011-01-03 10:31:58 +00:00
caif_shmcore.c Fix common misspellings 2011-03-31 11:26:23 -03:00
caif_spi.c Fix common misspellings 2011-03-31 11:26:23 -03:00
caif_spi_slave.c Fix common misspellings 2011-03-31 11:26:23 -03:00