• Monty's avatar
    [PATCH] USB: Emagic USB firmware loading fixes · 16c23f7d
    Monty authored
    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: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    16c23f7d
emi26.c 7.74 KB