commit | 0ab5b4c267a853a3b089b4a4320d7d90181fca7f | [log] [tgz] |
---|---|---|
author | Sriharsha Allenki <sallenki@codeaurora.org> | Thu Oct 15 19:16:28 2020 +0530 |
committer | Sriharsha Allenki <sallenki@codeaurora.org> | Fri Oct 23 12:44:37 2020 +0530 |
tree | cf35ab998a37989370c8a99204fda4cc865a6c06 | |
parent | 23c222dd049d96915779c3d072e7a63367c04c81 [diff] |
USB: HAL: Allow device suspend when boots up with hub connected The current implementation to support device suspend with hub connected does not covers the case where the device boots up with hub connected. Fix this by checking all the devices connected as part of setCallback and depending on the type of interfaces supported by the device, enable the autosuspend as well as wakeup capability. Change-Id: I1fbd1090a68e239e49dfbfac16fe529e29bd4605