]> git.ipfire.org Git - people/ms/u-boot.git/commit
Added usbtty_configured() check. Fixed attribute(packed) warnings.
authorAtin Malaviya <atin.malaviya@gmail.com>
Tue, 3 Feb 2009 20:17:10 +0000 (15:17 -0500)
committerRemy Bohmer <linux@bohmer.net>
Sun, 15 Feb 2009 16:14:38 +0000 (17:14 +0100)
commitf3c0de636252f3a18654c8f9c6370a9574a7e755
treebf94c4ebd4e000e7f0d6001ac20c73d17caebbb7
parent6b67962fd69ac0bcdf1a982669a029c2f0a7bcc1
Added usbtty_configured() check. Fixed attribute(packed) warnings.

V3: Fixed line-wrap problem due to user error in mail!

Added usb_configured() checks in usbtty_puts() and usbtty_putc() to get around a hang
when usb is not connected and the user has set up multi-io (setenv stdout serial,usbtty etc).
Got rid of redundant __attribute__((packed)) directives that were causing warnings from gcc.

Signed-off-by: Atin Malaviya <atin.malaviya@gmail.com>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
drivers/serial/usbtty.c