diff options
author | Ruibin Chang <ruibin.chang@ite.com.tw> | 2020-01-20 17:59:40 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-01-22 07:34:51 +0000 |
commit | adf6054e8eef567a6beb1d6894133446966c9e0a (patch) | |
tree | f56dcd3ef08dc2250f3d54c21b43370f6ddcb779 /chip/it83xx/clock.c | |
parent | 29e08659341945d5bda1ea323f64fab89d59197a (diff) | |
download | chrome-ec-adf6054e8eef567a6beb1d6894133446966c9e0a.tar.gz |
Cleanup: Add chip support pd physical port count configuration
Add chip support pd physical port count configuration.
BUG=none
BRANCH=none
TEST=build all -j
Change-Id: Ic473e53af44b5360aad6d2db74cf09ce5a3fa3e8
Signed-off-by: Ruibin Chang <ruibin.chang@ite.com.tw>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2009537
Tested-by: Ruibin Chang <Ruibin.Chang@ite.com.tw>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Commit-Queue: Ruibin Chang <Ruibin.Chang@ite.com.tw>
Diffstat (limited to 'chip/it83xx/clock.c')
-rw-r--r-- | chip/it83xx/clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/it83xx/clock.c b/chip/it83xx/clock.c index 0fd7335080..28827d11eb 100644 --- a/chip/it83xx/clock.c +++ b/chip/it83xx/clock.c @@ -495,7 +495,7 @@ void __enter_hibernate(uint32_t seconds, uint32_t microseconds) * Disable integrated pd modules in hibernate for * better power consumption. */ - for (i = 0; i < USBPD_PORT_COUNT; i++) + for (i = 0; i < IT83XX_USBPD_PHY_PORT_COUNT; i++) it83xx_disable_pd_module(i); #endif |