Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dwc_otg: implement tasklet for returning URBs to usbcore hcd layer #255

Merged
merged 1 commit into from
Mar 24, 2013

Commits on Mar 21, 2013

  1. dwc_otg: implement tasklet for returning URBs to usbcore hcd layer

    The dwc_otg driver interrupt handler for transfer completion will spend
    a very long time with interrupts disabled when a URB is completed -
    this is because usb_hcd_giveback_urb is called from within the handler
    which for a USB device driver with complicated processing (e.g. webcam)
    will take an exorbitant amount of time to complete. This results in
    missed completion interrupts for other USB packets which lead to them
    being dropped due to microframe overruns.
    
    This patch splits returning the URB to the usb hcd layer into a
    high-priority tasklet. This will have most benefit for isochronous IN
    transfers but will also have incidental benefit where multiple periodic
    devices are active at once.
    P33M authored and P33M committed Mar 21, 2013
    Configuration menu
    Copy the full SHA
    c4564d4 View commit details
    Browse the repository at this point in the history