From: Mark Ferrell Date: Tue, 24 Jul 2012 19:15:13 +0000 (-0500) Subject: usb: serial: mos7840: Fixup mos7840_chars_in_buffer() X-Git-Tag: v3.2.29~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ca589e245b8806bc8dc055250c0168dc2a25a92;p=pandora-kernel.git usb: serial: mos7840: Fixup mos7840_chars_in_buffer() commit 5c263b92f828af6a8cf54041db45ceae5af8f2ab 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: Mark Ferrell Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed