Commit c78b6be0 authored by Mark Ferrell's avatar Mark Ferrell Committed by Greg Kroah-Hartman
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>
parent d92614d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment