summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/asurada/usb_pd_policy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/asurada/usb_pd_policy.c b/board/asurada/usb_pd_policy.c
index ce27dd20d6..8d1a13da5b 100644
--- a/board/asurada/usb_pd_policy.c
+++ b/board/asurada/usb_pd_policy.c
@@ -188,8 +188,8 @@ void pd_power_supply_reset(int port)
int pd_check_vconn_swap(int port)
{
- /* TODO: Only allow vconn swap if PP4200_G rail is enabled , s3/s0 on */
- return 0;
+ /* Allow Vconn swap if AP is on. */
+ return chipset_in_state(CHIPSET_STATE_SUSPEND | CHIPSET_STATE_ON);
}
int pd_set_power_supply_ready(int port)