fix-stop-sitting-printing-in-time-critical-context.patch
commite8be8149e66a84c9576aea01b38c4c8fdb6677a6
authorAndy Green <andy@openmoko.com>
Sun, 3 Aug 2008 18:34:48 +0000 (3 19:34 +0100)
committerAndy Green <agreen@pads.home.warmcat.com>
Sun, 3 Aug 2008 18:34:48 +0000 (3 19:34 +0100)
tree8cd237067a1c344e821aff1ae0831efe68e5611a
parent8e307f5847af04c975922ba1eb5d97e8dbfb600c
fix-stop-sitting-printing-in-time-critical-context.patch

Someone left us a big fat warning in USB device code

/* Don't ever put [serial] debugging in non-error codepaths here, it
 * will violate the tight timing constraints of this USB Device
 * controller (and lead to bus enumeration failures) */

these "non-error codepaths" go all over the shop, this patch nukes some
serial printf()s that can do what we must never do.

Signed-off-by: Andy Green <andy@openmoko.com>
drivers/serial/usbtty.c
drivers/usb/usbdcore.c
drivers/usb/usbdcore_s3c2410.c