summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2011-03-21 13:25:08 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2011-04-23 04:31:53 +0400
commitb1c43f82c5aa265442f82dba31ce985ebb7aa71c (patch)
tree8b344d8d5355b30e8deff901180edc708a653227 /Kconfig
parente9a470f445271eb157ee860a93b062324402fc3a (diff)
downloadlinux-b1c43f82c5aa265442f82dba31ce985ebb7aa71c.tar.xz
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>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions