• Alan Stern's avatar
    USB: IMX21: upgrade the isochronous API · 9db33f31
    Alan Stern authored
    This patch attempts to update the imx21-hcd driver to the current
    standard for the isochronous API.  Firstly, urb->start_frame should
    always be set by the driver; it is not an input parameter.  Secondly,
    the URB_ISO_ASAP flag matters only when an URB is submitted to a
    stream that has gotten an underrun.  It causes the URB to be scheduled
    for the next available slot in the future, rather than the earliest
    unused (and expired) slot.
    
    Unfortunately, I don't have any way to test these changes.
    Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
    CC: Sascha Hauer <kernel@pengutronix.de>
    CC: Martin Fuzzey <mfuzzey@gmail.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    9db33f31
imx21-hcd.c 47.7 KB