summaryrefslogtreecommitdiff
path: root/board/elm
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2018-10-16 10:36:19 -0600
committerchrome-bot <chrome-bot@chromium.org>2018-11-14 16:56:23 -0800
commit9634e023470dba161b3a85d5e8344610dcb9eec9 (patch)
treeb01f7a6b3f4579ca48fdff53f717d7edf2ba61ab /board/elm
parentb072948de622962e77c03f0a1853432dc6633626 (diff)
downloadchrome-ec-9634e023470dba161b3a85d5e8344610dcb9eec9.tar.gz
usb-c: use higher priority task for interrupts
This should be the last step to make all boards on ToT follow go/usb-pd-slow-response-time. Theses boards all have the higher priority tasks, but they aren't being used since the tcpc interrupt wasn't scheduling calls on it. BRANCH=none BUG=b:112088135 TEST=builds Change-Id: I2c39e661e804f88edd5b34636b93e6e63a5af57f Signed-off-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1283452 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board/elm')
-rw-r--r--board/elm/board.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/board/elm/board.c b/board/elm/board.c
index 4fe7f780a0..f2d567ace7 100644
--- a/board/elm/board.c
+++ b/board/elm/board.c
@@ -57,10 +57,7 @@
void pd_mcu_interrupt(enum gpio_signal signal)
{
-#ifdef HAS_TASK_PDCMD
- /* Exchange status with PD MCU to determine interrupt cause */
- host_command_pd_send_status(0);
-#endif
+ schedule_deferred_pd_interrupt(0 /* port */);
}
void deferred_reset_pd_mcu(void);