1. 11 Sep, 2012 4 commits
    • Greg Kroah-Hartman's avatar
      Merge tag 'dwc3-for-v3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-next · e6d49d09
      Greg Kroah-Hartman authored
      usb: dwc3: patches for v3.7 merge window
      
      Some much needed changes for our dwc3 driver. First there's a
      rework on the ep0 handling due to some Silicon issue we uncovered
      which affects all users of this IP core (there's a missing
      XferNotReady(DATA) event in some conditions). This issue which
      show up as a SETUP transfers which wouldn't complete ever and
      we would fail TD 7.06 of the Link Layer Test from USB-IF and
      Lecroy's USB3 Exerciser.
      
      We also fix a long standing bug regarding EP0 enable sequencing
      where we weren't setting a particular bit (Ignore Sequence
      Number). Since we never saw any problems caused by that, it
      didn't deserve being sent to stable tree.
      
      On this pull request we also fix Burst Size initialization which
      should be done only in SuperSpeed and we were mistakenly setting
      Burst Size to the maximum value on non-SuperSpeed mode. Again,
      since we never saw any problems caused by that, we're not sending
      this patch to stable.
      
      There's also a memory ordering fix regarding usage of bitmaps in
      dwc3 driver.
      
      You will also find some sparse warnings fix, a fix for missed
      isochronous packets when the endpoint is already busy, and a
      fix for synchronization delay on dwc3_stop_active_transfer().
      e6d49d09
    • Greg Kroah-Hartman's avatar
      Merge tag 'xceiv-for-v3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-next · dcb9cf39
      Greg Kroah-Hartman authored
      usb: xceiv: patches for v3.7 merge window
      
      nop xceiv got its own header to avoid polluting otg.h. It has also
      learned to work as USB2 and USB3 phys so we can use it on USB3
      controllers.
      
      Together with those two changes to nop xceiv, we're adding basic
      PHY support to dwc3 driver, this is to allow platforms which actually
      have a SW-controllable PHY talk to them through dwc3 driver.
      
      We're adding a new phy driver for the OMAP architecture. This driver
      is for the PHY found in OMAP4 SoCs, and a new phy driver for the
      marvell architecture. An extra phy driver - for Tegra SoCs - is now
      moving from arch/arm/mach-tegra* to drivers/usb/phy.
      
      Also here, there's the creation of <linux/usb/phy.h> which should be
      used from now on for PHY drivers, even those which don't support
      OTG.
      dcb9cf39
    • Greg Kroah-Hartman's avatar
      Merge tag 'gadget-for-v3.7' of... · 7135f08e
      Greg Kroah-Hartman authored
      Merge tag 'gadget-for-v3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-next
      
      usb: gadget: patches for v3.7 merge window
      
      This pull request is large but the biggest part is the first part
      of the cleanup on the gadget framework so we have a saner setup
      to add configfs support for v3.8.
      
      We have also some more conversions to the new udc_start/udc_stop
      which makes us closer from dropping the old interfaces.
      
      USB_GADGET_DUALSPEED and USB_GADGET_SUPERSPEED are finally gone,
      thanks to Michal for his awesome work.
      
      Other than that, we have the usual set of miscellaneous changes
      and cleanups involving improvements to debug messages, removal
      of duplicated includes, moving dereference after NULL test,
      making renesas_hsbhs' irq handler Shared, unused code being dropped,
      prevention of sleep-inside-spinlock bugs and a race condition fix
      on udc-core.
      7135f08e
    • Chuansheng Liu's avatar
      USB/host: Cleanup unneccessary irq disable code · 73d40660
      Chuansheng Liu authored
      Because the IRQF_DISABLED as the flag is now a NOOP and has been
      deprecated and in hardirq context the interrupt is disabled.
      
      so in usb/host code:
      Removing the usage of flag IRQF_DISABLED;
      Removing the calling local_irq save/restore actions in irq
      handler usb_hcd_irq();
      Signed-off-by: default avatarliu chuansheng <chuansheng.liu@intel.com>
      Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      73d40660
  2. 10 Sep, 2012 36 commits