Skip to content
Commit 5c263b92 authored by Mark Ferrell's avatar Mark Ferrell Committed by Greg Kroah-Hartman
Browse files

usb: serial: mos7840: Fixup mos7840_chars_in_buffer()



 * 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>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4840ae17
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment