]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] USB: Emagic USB firmware loading fixes
authorMonty <xiphmont@xiph.org>
Tue, 9 May 2006 19:37:22 +0000 (12:37 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 May 2006 18:58:09 +0000 (11:58 -0700)
commit16c23f7d88cbcce491f9370b2846fad66e8ef319
tree7e69ad84548acabb0bebcfd594c1986292947d83
parent332bbf613868a5d5938ad9fb7436b2beae72d53d
[PATCH] USB: Emagic USB firmware loading fixes

It's become apparent as machines get faster that the emagic kernel firmware
loaders (based on the ezusb loader) have a reset race.  a 400MHz TiBook
never tripped it, but a 2GHz Pentium M seems to hit it about 30% of the
time.  The bug is seen as a hung USB box and the kernel error:

drivers/usb/misc/emi62.c: emi62_load_firmware - error loading firmware:
error = -110

The patch below inserts a delay after deasserting reset to allow the box to
settle before a new command is issued.  This affects only device startup.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/emi26.c
drivers/usb/misc/emi62.c