usb: misc: usb3503: Actively manage Hub Connect GPIO
authorMark Brown <broonie@linaro.org>
Fri, 9 Aug 2013 10:41:51 +0000 (11:41 +0100)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:47:06 +0000 (11:47 +0900)
commit392932f55adc3fc353abf5a71b7970aebf449789
tree6f8c65b1cf2edef8b9f848c837bcbb9f93fb7566
parent75f1f8800cffd785f3718125beb3c9fac9b430ba
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>
[mszyprow: mainline commit 8e7245b8386cb1dc941e10a4c97307e3f48da5da]
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I8e7245b8386cb1dc941e10a4c97307e3f48da5da
drivers/usb/misc/usb3503.c