Commit d3eeb699 authored by Mark Ferrell's avatar Mark Ferrell Committed by Paul Gortmaker
Browse files

usb: serial: mos7840: Fixup mos7840_chars_in_buffer()



commit 5c263b92 upstream.

 * Use the buffer content length as opposed to the total buffer size.  This can
   be a real problem when using the mos7840 as a usb serial-console as all
   kernel output is truncated during boot.

Signed-off-by: default avatarMark Ferrell <mferrell@uplogix.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent 49bfc0de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment