Merge tag 'usb-3.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 May 2012 22:50:46 +0000 (15:50 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 May 2012 22:50:46 +0000 (15:50 -0700)
Pull USB 3.5-rc1 changes from Greg Kroah-Hartman:
 "Here is the big USB 3.5-rc1 pull request for the 3.5-rc1 merge window.

  It's touches a lot of different parts of the kernel, all USB drivers,
  due to some API cleanups (getting rid of the ancient err() macro) and
  some changes that are needed for USB 3.0 power management updates.

  There are also lots of new drivers, pimarily gadget, but others as
  well.  We deleted a staging driver, which was nice, and finally
  dropped the obsolete usbfs code, which will make Al happy to never
  have to touch that again.

  There were some build errors in the tree that linux-next found a few
  days ago, but those were fixed by the most recent changes (all were
  due to us not building with CONFIG_PM disabled.)

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>"
* tag 'usb-3.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (477 commits)
  xhci: Fix DIV_ROUND_UP compile error.
  xhci: Fix compile with CONFIG_USB_SUSPEND=n
  USB: Fix core compile with CONFIG_USB_SUSPEND=n
  brcm80211: Fix compile error for .disable_hub_initiated_lpm.
  Revert "USB: EHCI: work around bug in the Philips ISP1562 controller"
  MAINTAINERS: Add myself as maintainer to the USB PHY Layer
  USB: EHCI: fix command register configuration lost problem
  USB: Remove races in devio.c
  USB: ehci-platform: remove update_device
  USB: Disable hub-initiated LPM for comms devices.
  xhci: Add Intel U1/U2 timeout policy.
  xhci: Add infrastructure for host-specific LPM policies.
  USB: Add macros for interrupt endpoint types.
  xhci: Reserve one command for USB3 LPM disable.
  xhci: Some Evaluate Context commands must succeed.
  USB: Disable USB 3.0 LPM in critical sections.
  USB: Add support to enable/disable USB3 link states.
  USB: Allow drivers to disable hub-initiated LPM.
  USB: Calculate USB 3.0 exit latencies for LPM.
  USB: Refactor code to set LPM support flag.
  ...

Conflicts:
arch/arm/mach-exynos/mach-nuri.c
arch/arm/mach-exynos/mach-universal_c210.c
drivers/net/wireless/ath/ath6kl/usb.c

31 files changed:
1  2 
MAINTAINERS
arch/arm/mach-exynos/Kconfig
arch/arm/mach-exynos/mach-nuri.c
arch/arm/mach-exynos/mach-universal_c210.c
arch/arm/mach-s3c64xx/mach-crag6410.c
arch/arm/mach-s3c64xx/mach-smdk6410.c
arch/arm/plat-samsung/devs.c
drivers/isdn/gigaset/bas-gigaset.c
drivers/isdn/gigaset/usb-gigaset.c
drivers/isdn/hardware/mISDN/hfcsusb.c
drivers/net/usb/cdc_ether.c
drivers/net/usb/qmi_wwan.c
drivers/net/usb/rndis_host.c
drivers/net/usb/smsc75xx.c
drivers/net/wireless/at76c50x-usb.c
drivers/net/wireless/ath/ath6kl/usb.c
drivers/net/wireless/ath/ath9k/hif_usb.c
drivers/net/wireless/brcm80211/brcmfmac/usb.c
drivers/net/wireless/libertas/if_usb.c
drivers/net/wireless/p54/p54usb.c
drivers/net/wireless/rndis_wlan.c
drivers/net/wireless/rt2x00/rt2500usb.c
drivers/net/wireless/rt2x00/rt2800usb.c
drivers/net/wireless/rt2x00/rt73usb.c
drivers/net/wireless/rtl818x/rtl8187/dev.c
drivers/net/wireless/rtlwifi/rtl8192cu/sw.c
drivers/usb/gadget/Kconfig
drivers/usb/gadget/Makefile
drivers/usb/gadget/f_rndis.c
drivers/usb/host/ehci-tegra.c
drivers/usb/host/ohci-omap.c

diff --cc MAINTAINERS
Simple merge
Simple merge
index 5784b0abfe9d8edf09cfc09c6c375240cc05683a,a60269d0a119c2af6b4d71e69b0aa1534362fca0..6c31f2ad765df785ed7f2af402fd96c50e217194
@@@ -25,7 -25,7 +25,8 @@@
  #include <linux/mmc/host.h>
  #include <linux/fb.h>
  #include <linux/pwm_backlight.h>
+ #include <linux/platform_data/s3c-hsotg.h>
 +#include <drm/exynos_drm.h>
  
  #include <video/platform_lcd.h>
  #include <media/m5mols.h>
index 27fab5389d7e2df8f881dde2d6a7698ecca9ce02,9be8a07d7d018c099b3750b920bf3d8bf7ef2f1a..6b731b863275f5cc1d1362d3ccd68ade5db9b8b3
@@@ -23,7 -23,7 +23,8 @@@
  #include <linux/i2c-gpio.h>
  #include <linux/i2c/mcs.h>
  #include <linux/i2c/atmel_mxt_ts.h>
+ #include <linux/platform_data/s3c-hsotg.h>
 +#include <drm/exynos_drm.h>
  
  #include <asm/mach/arch.h>
  #include <asm/hardware/gic.h>
@@@ -1072,9 -1058,7 +1081,10 @@@ static struct platform_device *universa
        &s5p_device_onenand,
        &s5p_device_fimd0,
        &s5p_device_jpeg,
 +#ifdef CONFIG_DRM_EXYNOS
 +      &exynos_device_drm,
 +#endif
+       &s3c_device_usb_hsotg,
        &s5p_device_mfc,
        &s5p_device_mfc_l,
        &s5p_device_mfc_r,
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index ec7f1f5fd1cac4a335e04b5f8db39e639fe9c43e,f8a27db69c7ff1dd909e909d349d4adb6271f347..44a795f14da94c8152bd9f6ce2f1cbd37c295ea5
@@@ -1176,12 -403,9 +1176,13 @@@ MODULE_DEVICE_TABLE(usb, ath6kl_usb_ids
  static struct usb_driver ath6kl_usb_driver = {
        .name = "ath6kl_usb",
        .probe = ath6kl_usb_probe,
 +      .suspend = ath6kl_usb_suspend,
 +      .resume = ath6kl_usb_resume,
 +      .reset_resume = ath6kl_usb_reset_resume,
        .disconnect = ath6kl_usb_remove,
        .id_table = ath6kl_usb_ids,
 +      .supports_autosuspend = true,
+       .disable_hub_initiated_lpm = 1,
  };
  
  static int ath6kl_usb_init(void)
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index d4f823f463e9dada9ac514584cc3f19eeb5b8089,a4761222efbc964417c7b20fb2dd4d86b589505a..b1681e45aca76749c65f99a53c943a993cff4ccf
@@@ -765,15 -767,13 +767,13 @@@ rndis_bind(struct usb_configuration *c
                goto fail;
        rndis->config = status;
  
 -      rndis_set_param_medium(rndis->config, NDIS_MEDIUM_802_3, 0);
 +      rndis_set_param_medium(rndis->config, RNDIS_MEDIUM_802_3, 0);
        rndis_set_host_mac(rndis->config, rndis->ethaddr);
  
- #if 0
- // FIXME
-       if (rndis_set_param_vendor(rndis->config, vendorID,
-                               manufacturer))
-               goto fail0;
- #endif
+       if (rndis->manufacturer && rndis->vendorID &&
+                       rndis_set_param_vendor(rndis->config, rndis->vendorID,
+                                              rndis->manufacturer))
+               goto fail;
  
        /* NOTE:  all that is done without knowing or caring about
         * the network link ... which is unavailable to this code
index 87e271b9c157245363ac6cc58683b2358416444a,e57aba52b31cd1fbdf384ef3f363d0b062711993..4a44bf833611bc88126005d219853ae15850621b
@@@ -432,12 -417,9 +417,10 @@@ static const struct hc_driver tegra_ehc
        .bus_suspend            = ehci_bus_suspend,
        .bus_resume             = ehci_bus_resume,
  #endif
-       .relinquish_port        = ehci_relinquish_port,
-       .port_handed_over       = ehci_port_handed_over,
  };
  
 -static int setup_vbus_gpio(struct platform_device *pdev)
 +static int setup_vbus_gpio(struct platform_device *pdev,
 +                         struct tegra_ehci_platform_data *pdata)
  {
        int err = 0;
        int gpio;
Simple merge