]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: fix the glue drivers using the nop phy
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Wed, 18 Dec 2013 14:41:25 +0000 (16:41 +0200)
committerFelipe Balbi <balbi@ti.com>
Thu, 19 Dec 2013 15:27:41 +0000 (09:27 -0600)
commitd3c3d598af9c2c2202f133729f67ce1b71115a4c
tree7bb8d39c2ad82ebf986ca50e5c502d920cd7d599
parent8a9c58412165015bd177a41daab26c4d56f47a55
usb: dwc3: fix the glue drivers using the nop phy

The reset_gpio member of the usb_phy_gen_xceiv_platform_data
structure needs the have negative value or phy-generic's
probe will fail unless DT is used. 0 is a valid gpio number.

This fixes an issue where phy-generic fails to probe with
message: "usb_phy_gen_xceiv.0: Error requesting RESET GPIO 0".

Cc: <stable@vger.kernel.org>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/dwc3-exynos.c
drivers/usb/dwc3/dwc3-pci.c