USB: dbgp: insert cr prior to nl as needed
authorJason Wessel <jason.wessel@windriver.com>
Thu, 20 Aug 2009 20:39:49 +0000 (15:39 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Sep 2009 13:46:38 +0000 (06:46 -0700)
commit87a5d15154ae2389251e6ad99216a846b905375c
tree54a546e1f5f393fae70ca80eddf0b38b1ac9b1c0
parentdf6c516900d48df3581b23d37d6516a22ec4f2ca
USB: dbgp: insert cr prior to nl as needed

The rs232 drivers send a carriage return prior to a new line in the
early printk code.

The usb debug driver should do the same because you want to be able to
use the same terminal programs and tools for analysis of early printk
data.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/early/ehci-dbgp.c