• P
    [PATCH] USB: ub 05 Bulk reset · 2c2e4a2e
    Pete Zaitcev 提交于
    For crying out loud, they have devices which do not like port resets.
    So, do what usb-storage does and try both bulk and port resets.
    We start with a port reset (which usb-storage does at the end of transport),
    then do a Bulk reset, then a port reset again. This seems to work for me.
    
    The code is getting dirtier and dirtier here, but I swear that I'll
    do something about it (see those two new XXX). Honest.
    Signed-off-by: NPete Zaitcev <zaitcev@redhat.com>
    Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
    2c2e4a2e
ub.c 68.6 KB