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: root port and FIQ bugfixes #352

Merged
merged 3 commits into from
Aug 7, 2013

Commits on Aug 5, 2013

  1. dwc_otg: make fiq_split_enable imply fiq_fix_enable

    Failing to set up the FIQ correctly would result in
    "IRQ 32: nobody cared" errors in dmesg.
    P33M authored and P33M committed Aug 5, 2013
    Configuration menu
    Copy the full SHA
    a87dc0f View commit details
    Browse the repository at this point in the history
  2. dwc_otg: prevent leaking URBs during enqueue

    A dwc_otg_urb would get leaked if the HCD enqueue function
    failed for any reason. Free the URB at the appropriate points.
    P33M authored and P33M committed Aug 5, 2013
    Configuration menu
    Copy the full SHA
    e25207d View commit details
    Browse the repository at this point in the history
  3. dwc_otg: prevent crashes on host port disconnects

    Fix several issues resulting in crashes or inconsistent state
    if a Model A root port was disconnected.
    
    - Clean up queue heads properly in kill_urbs_in_qh_list by
      removing the empty QHs from the schedule lists
    - Set the halt status properly to prevent IRQ handlers from
      using freed memory
    - Add fiq_split related cleanup for saved registers
    - Make microframe scheduling reclaim host channels if
      active during a disconnect
    - Abort URBs with -ESHUTDOWN status response, informing
      device drivers so they respond in a more correct fashion
      and don't try to resubmit URBs
    - Prevent IRQ handlers from attempting to handle channel
      interrupts if the associated URB was dequeued (and the
      driver state was cleared)
    P33M authored and P33M committed Aug 5, 2013
    Configuration menu
    Copy the full SHA
    6ea91ce View commit details
    Browse the repository at this point in the history