usb: misc: usb3503: Actively manage Hub Connect GPIO
authorMark Brown <broonie@linaro.org>
Fri, 9 Aug 2013 10:41:51 +0000 (11:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 19:20:25 +0000 (12:20 -0700)
commit8e7245b8386cb1dc941e10a4c97307e3f48da5da
tree6dcc60ccca95cf156af796422908ec1f4294af14
parent24455b09b4838cdc0165af0f24ca63ec9ad54e44
usb: misc: usb3503: Actively manage Hub Connect GPIO

If the connect signal is pulled high then the device will start up meaning
that if we just pull it high on probe then the device will start running
prior to the configuration being written out. Fix this by pulling the GPIO
low when we reset and only pulling it high when configuration is finished.

Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/usb3503.c