• C
    [PATCH] USB: EHCI full speed ISO bugfixes · 469d0229
    Clemens Ladisch 提交于
    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: NClemens Ladisch <clemens@ladisch.de>
    Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
    469d0229
ehci-sched.c 50.6 KB