Re: [PATCH v2 11/11] usb: musb: da8xx: Remove mach code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 03/17/2016 08:11 AM, Sergei Shtylyov wrote:
On 3/17/2016 5:26 AM, David Lechner wrote:

      glue->dev            = &pdev->dev;
      pdata->platform_ops        = &da8xx_ops;

-    glue->phy = usb_phy_generic_register();
-    if (IS_ERR(glue->phy)) {
-        ret = PTR_ERR(glue->phy);
-        goto err5;
+    glue->usb_phy = usb_phy_generic_register();

    Hm, do we still need the USB PHY? It does nothing IIRC...


Unfortunately, yes. It is used in musb_core, etc., mainly for otg->state.

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux