Merge tag 'usb-for-v3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi...
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Nov 2014 17:31:14 +0000 (09:31 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Nov 2014 17:31:14 +0000 (09:31 -0800)
Felipe writes:

usb: patches for v3.19 merge window

This time, a very pull request with 216 non-merge
commits. Most of the commits contained here are
sparse or coccinelle fixes ranging from missing
'static' to returning 0 in case of errors.

More importantly, we have the removal the now
unnecessary 'driver' argument to ->udc_stop().

DWC2 learned about Dual-Role builds. Users of
this IP can now have a single driver built for
host and device roles.

DWC3 got support for two new HW platforms: Exynos7
and AMD.

The Broadcom USB 3.0 Device Controller IP is now
supported and so is PLX USB338x, which means DWC3
has lost is badge as the only USB 3.0 peripheral
IP supported on Linux.

Thanks for Tony Lindgren's work, we can now have
a distro-like kernel where all MUSB glue layers
can be built into the same kernel (statically
or dynamically linked) and it'll work in PIO (DMA
will come probably on v3.20).

Other than these, the usual set of cleanups and
non-critical fixes.

Signed-off-by: Felipe Balbi <balbi@ti.com>
1  2 
drivers/phy/phy-omap-usb2.c
drivers/usb/chipidea/host.c
drivers/usb/chipidea/otg_fsm.c
drivers/usb/core/hcd.c
drivers/usb/dwc2/gadget.c

index f091576b644903a2ab1320550c090479a6f8d56c,32c3e86b4935b125eb34ff56f9606649bed997b6..08f2da27083779fef174c5844680e57a64718c34
@@@ -255,16 -251,13 +251,16 @@@ static int omap_usb2_probe(struct platf
                otg->set_vbus           = omap_usb_set_vbus;
        if (phy_data->flags & OMAP_USB2_HAS_START_SRP)
                otg->start_srp          = omap_usb_start_srp;
-       otg->phy                = &phy->phy;
+       otg->usb_phy            = &phy->phy;
  
        platform_set_drvdata(pdev, phy);
 +      pm_runtime_enable(phy->dev);
  
        generic_phy = devm_phy_create(phy->dev, NULL, &ops, NULL);
 -      if (IS_ERR(generic_phy))
 +      if (IS_ERR(generic_phy)) {
 +              pm_runtime_disable(phy->dev);
                return PTR_ERR(generic_phy);
 +      }
  
        phy_set_drvdata(generic_phy, phy);
  
index 33027abb53491fffce5677f44ce25c9e7d58f574,4f8eb40ad93a2c7fdc8d53d190970ecfa4f768cb..48731d0bab357a75232fdbd7b4063fe29af3ad4e
@@@ -115,12 -87,13 +118,13 @@@ static int host_start(struct ci_hdrc *c
  
        ret = usb_add_hcd(hcd, 0, 0);
        if (ret) {
 -              goto disable_reg;
 +              goto put_hcd;
        } else {
-               struct usb_otg *otg = ci->transceiver->otg;
+               struct usb_otg *otg = &ci->otg;
  
                ci->hcd = hcd;
-               if (otg) {
+               if (ci_otg_is_fsm_mode(ci)) {
                        otg->host = &hcd->self;
                        hcd->self.otg_port = 1;
                }
Simple merge
Simple merge
Simple merge