Merge 3.4-rc4 into usb-next.
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 22 Apr 2012 22:25:26 +0000 (15:25 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 22 Apr 2012 22:25:26 +0000 (15:25 -0700)
This resolves the conflict in:
drivers/usb/host/ehci-fsl.c
And picks up loads of xhci bugfixes to make it easier for others to test
with.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1  2 
drivers/usb/gadget/fsl_udc_core.c
drivers/usb/host/ehci-fsl.c
drivers/usb/host/ehci-hcd.c
drivers/usb/host/ehci-hub.c
drivers/usb/host/ehci-tegra.c
drivers/usb/misc/yurex.c
drivers/usb/serial/option.c

Simple merge
index d0a84bd3f3ebe5bca473e2c6c99711bf02069c3f,653e577ab3ee39fc0563852a2c5c2f9b3a1e668f..34acfcee740547a565bab20241ecc5cf68d738a5
@@@ -236,10 -246,16 +246,18 @@@ static void ehci_fsl_setup_phy(struct u
                portsc |= PORT_PTS_PTW;
                /* fall through */
        case FSL_USB2_PHY_UTMI:
+               if (pdata->controller_ver) {
+                       /* controller version 1.6 or above */
+                       temp = in_be32(non_ehci + FSL_SOC_USB_CTRL);
+                       out_be32(non_ehci + FSL_SOC_USB_CTRL, temp |
+                               UTMI_PHY_EN | USB_CTRL_USB_EN);
+                       mdelay(FSL_UTMI_PHY_DLY);  /* Delay for UTMI PHY CLK to
+                                               become stable - 10ms*/
+               }
                /* enable UTMI PHY */
 -              setbits32(non_ehci + FSL_SOC_USB_CTRL, CTRL_UTMI_PHY_EN);
 +              if (pdata->have_sysif_regs)
 +                      setbits32(non_ehci + FSL_SOC_USB_CTRL,
 +                                CTRL_UTMI_PHY_EN);
                portsc |= PORT_PTS_UTMI;
                break;
        case FSL_USB2_PHY_NONE:
Simple merge
Simple merge
Simple merge
index 70201462e19c0e57d8615432a7d3e5e5813aed85,e0388dc0a55eb24ae7b1e19b93678cee76f049c8..1d8ad4c5b99ef2ef34885008735c5ca2a3f9d360
@@@ -232,9 -237,11 +235,9 @@@ static int yurex_probe(struct usb_inter
        }
  
        /* allocate buffer for control req */
 -      dev->cntl_req = usb_alloc_coherent(dev->udev, YUREX_BUF_SIZE,
 -                                         GFP_KERNEL,
 -                                         &dev->cntl_urb->setup_dma);
 +      dev->cntl_req = kmalloc(YUREX_BUF_SIZE, GFP_KERNEL);
        if (!dev->cntl_req) {
-               err("Could not allocate cntl_req");
+               dev_err(&interface->dev, "Could not allocate cntl_req\n");
                goto error;
        }
  
                         usb_rcvintpipe(dev->udev, dev->int_in_endpointAddr),
                         dev->int_buffer, YUREX_BUF_SIZE, yurex_interrupt,
                         dev, 1);
 -      dev->cntl_urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP;
 +      dev->urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP;
        if (usb_submit_urb(dev->urb, GFP_KERNEL)) {
                retval = -EIO;
-               err("Could not submitting URB");
+               dev_err(&interface->dev, "Could not submitting URB\n");
                goto error;
        }
  
Simple merge