diff options
-rw-r--r-- | board/samus_pd/usb_pd_policy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/samus_pd/usb_pd_policy.c b/board/samus_pd/usb_pd_policy.c index a8b1f1a4b5..3db584fbe5 100644 --- a/board/samus_pd/usb_pd_policy.c +++ b/board/samus_pd/usb_pd_policy.c @@ -362,8 +362,8 @@ static int svdm_dp_attention(int port, uint32_t *payload) if (irq & cur_lvl) { gpio_set_level(hpd, 0); - /* 250 usecs is minimum, 2msec is max */ - hook_call_deferred(PORT_TO_HPD_IRQ_DEFERRED(port), 300); + hook_call_deferred(PORT_TO_HPD_IRQ_DEFERRED(port), + HPD_DEBOUNCE_IRQ); } else if (irq & !cur_lvl) { CPRINTF("ERR:HPD:IRQ&LOW\n"); return 0; /* nak */ |