• David Brownell's avatar
    [PATCH] usb: problem clearing halts · 236d8160
    David Brownell authored
    This is a slightly cleaned up version of that earlier patch:
    
    - Makes both copies of the clear_halt() logic know that
       usb_pipein() returns boolean (zero/not) not integer (0/1).
       This resolves a problem folk have had with usb-storage.
       (I looked at kernel uses of usb_pipein and it really was
       only the clear_halt logic that cares.)
    
    - Removes some code from the "standard" version; no point
       in Linux expecting devices to do something neither Microsoft
       nor Apple will test for.
    236d8160
transport.c 42.7 KB