• Clemens Ladisch's avatar
    [PATCH] USB: EHCI full speed ISO bugfixes · 469d0229
    Clemens Ladisch authored
    This patch replaces the split ISO raw_mask calculation code in the
    iso_stream_init() function that computed incorrect numbers of high
    speed transactions for both input and output transfers.
    
    In the output case, it added a superfluous start-split transaction for
    all maxmimum packet sizes that are a multiple of 188.
    
    In the input case, it forgot to add complete-split transactions for all
    microframes covered by the full speed transaction, and the additional
    complete-split transaction needed for the case when full speed data
    starts arriving near the end of a microframe.
    
    These changes don't affect the lack of full speed bandwidth, but at
    least it removes the MMF errors that the HC raised with some input
    streams.
    Signed-off-by: default avatarClemens Ladisch <clemens@ladisch.de>
    Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    469d0229
ehci-sched.c 50.6 KB