• Ben Dooks's avatar
    USB: s3c-hsotg: Fix OUT packet request retry · a33e7136
    Ben Dooks authored
    If there is more data in the request than we could fit into a single
    hardware request, then check when the OutDone event is received if
    we have more data, and if so, schedule the new data instead of trying
    to complete the request (and in the case of EP0, sending a 0 packet
    in the middle of a transfer).
    
    Also, move the debug message about the current transfer state before
    the warning about a bad transfer.
    Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    a33e7136
s3c-hsotg.c 88.5 KB