1. 10 Mar, 2015 38 commits
  2. 09 Mar, 2015 2 commits
    • Felipe Balbi's avatar
      usb: dwc3: gadget: drop unnecessary loop when cleaning up TRBs · 8f2c9544
      Felipe Balbi authored
      Now that we're using XFERINPROGRESS for all endpoint
      types (except Control), we will *always* be completing
      one TRB at a time, so it's safe to remove the loop
      from dwc3_cleanup_done_reqs.
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      8f2c9544
    • Felipe Balbi's avatar
      usb: dwc3: omap: call of_platform_depopulate() instead · 3d0184d0
      Felipe Balbi authored
      This patch fixes a bug where removing dwc3-omap.ko
      would not trigger removal of dwc3.ko.
      
      of_platform_depopulate() already bakes an easy to
      use API for removing all our children which were
      populated during probe(); Let's use that one instead
      of cooking our own solution.
      
      Note that this is kind of a revert of commit c5a1fbca
      (usb: dwc3: dwc3-omap: Fix the crash on module removal)
      although we can't simply revert that because a direct
      call to platform_device_unregister would also be flakey.
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      3d0184d0