usb: misc: usb3503: Actively manage Hub Connect GPIO
authorMark Brown <broonie@linaro.org>
Fri, 9 Aug 2013 10:41:51 +0000 (11:41 +0100)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 15 May 2014 05:27:32 +0000 (07:27 +0200)
commitc75b4ff7e4b6d6fd9ad0508216a04fc534c08b28
treeac5946915ac2a248530e1d2fe5eec6dad2addf29
parentd2d5d7bf20025b3fa1ce720fd2c6632f3d44cce9
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