]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf3d5cf2b32d62aba2d25b0be5f28b1e2356015a2
tree6dcc60ccca95cf156af796422908ec1f4294af14
parent4f9c29abb509046c9fe268efcf9484ec665af7dc
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