[PATCH stable 2/6] usb: dwc2/gadget: fix phy initialization sequence

2014-09-09 Thread Robert Baldyga
From: Kamil Debski k.deb...@samsung.com In the Generic PHY Framework a NULL phy is considered to be a valid phy thus the if (hsotg-phy) check does not give us the information whether the Generic PHY Framework is used. In addition to the above this patch also removes phy_init from probe and

[PATCH stable 2/6] usb: dwc2/gadget: fix phy initialization sequence

2014-09-08 Thread Robert Baldyga
From: Kamil Debski k.deb...@samsung.com In the Generic PHY Framework a NULL phy is considered to be a valid phy thus the if (hsotg-phy) check does not give us the information whether the Generic PHY Framework is used. In addition to the above this patch also removes phy_init from probe and