diff options
author | Nicholas Troast <ntroast@codeaurora.org> | 2017-01-20 13:52:10 -0800 |
---|---|---|
committer | Nicholas Troast <ntroast@codeaurora.org> | 2017-01-20 13:52:10 -0800 |
commit | ba0441736d3fb21e89e681b69942198c1edddc28 (patch) | |
tree | 0b8dfbbd4ccba9c945e13faeca92e097e284e238 /scripts/kconfig/lkc.h | |
parent | 74e7bd58a41c72e94474eed114eb58ae6362e735 (diff) |
smb-lib: fix Type-C detection after sink removal
A misplaced return statement causes an early return from disabling OTG.
If OTG is enabled when a source is attached then Type-C detection will
fail. Therefore, OTG should never be blocked from being disabled.
Remove all of the early returns that could potentially block the
register write which disables OTG.
Change-Id: I4645210233c7490cf3e1b8f6a629fec60399b250
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Diffstat (limited to 'scripts/kconfig/lkc.h')
0 files changed, 0 insertions, 0 deletions