diff options
author | Peter Chen <peter.chen@freescale.com> | 2014-09-22 00:14:16 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-24 04:32:31 (GMT) |
commit | 27c62c2da177178771517744acaced08767214e2 (patch) | |
tree | 72b57e9d294226fc672d352894ef95b5fd39b42a /arch/arm/vfp | |
parent | f40017e0f3325b4c42139f54748ac4f0bbed3c52 (diff) | |
download | linux-27c62c2da177178771517744acaced08767214e2.tar.xz |
usb: chipidea: otg initialization is only needed when the gadget is supported
We have only needed to enable otg initialization when both of
below conditions are satisfied:
- The controller is otg capable
- The gadget function is enabled
If the controller is otg capable, but is host-only configuration, we do
not need to access register otgsc and do any otg operations (eg, create
otg workqueue).
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/vfp')
0 files changed, 0 insertions, 0 deletions