usb: phy-generic: fix nop xceiv probe
authorAaro Koskinen <aaro.koskinen@iki.fi>
Fri, 15 Nov 2013 19:38:50 +0000 (21:38 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 25 Nov 2013 16:25:59 +0000 (10:25 -0600)
commitdc52c57411ccad276af6b4f35a670773110b35c5
treec9ec2390576a5633a3994173b8ad527017e6eb04
parentfd3923a9904f34d5472134358d87f454a288fc45
usb: phy-generic: fix nop xceiv probe

Commit bd27fa44e13830d2baa278d5702e766380659cb3 (usb: phy: generic:
Don't use regulator framework for RESET line) introduced regression: All
users of usb_nop_xceiv_register() will fail because there is no platform
data and the default reset GPIO is 0 which is a valid GPIO. Fix that.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Acked-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-generic.c