• Pete Zaitcev's avatar
    [PATCH] USB: ub 05 Bulk reset · 2c2e4a2e
    Pete Zaitcev authored
    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: default avatarPete Zaitcev <zaitcev@redhat.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    2c2e4a2e
ub.c 68.6 KB