usb: phy: make GPIOs optional for the generic phy
authorPaul Zimmerman <Paul.Zimmerman@synopsys.com>
Thu, 15 Jan 2015 02:45:12 +0000 (02:45 +0000)
committerFelipe Balbi <balbi@ti.com>
Mon, 19 Jan 2015 18:53:32 +0000 (12:53 -0600)
commitda89dba1a0c69ed01e33ebf41327b90993d08492
tree0d3c88236f3672a28b467273ddfbb9ad50df016c
parent3c4c733ca9e3f88e3107b6e23b9789bf7769e1f4
usb: phy: make GPIOs optional for the generic phy

The use of GPIOs should be optional for the generic phy, otherwise
the Altera SOCFPGA platform at least is broken.

Fixes breakage caused by a combination of e9f2cefb0cd "usb: phy:
generic: migrate to gpio_desc" and 135b3c4304d "usb: dwc2: platform:
add generic PHY framework support".

Reviewed-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-generic.c