• Stephen Warren's avatar
    usb: dwc2: remove restriction on buffer length · 805b67e1
    Stephen Warren authored
    Each USB transfer is split up into chunks that are held in an aligned
    buffer. This imposes a limit on the size of each chunk, but no limit on
    the total size of transferred data. Fix the logic in chunk_msg() not to
    reject large transfers, but simply take the size of the aligned buffer
    into account when calculating the chunk size.
    Signed-off-by: default avatarStephen Warren <swarren@wwwdotorg.org>
dwc2.c 23.6 KB