From f96f176c303a73973d7cf5ddf1abf86f534a6e39 Mon Sep 17 00:00:00 2001 From: Dawid Niedzwiecki Date: Fri, 6 Nov 2020 09:20:56 +0100 Subject: task_set_event: remove the wait argument There is an option in the task_set_event function which force the calling task to wait for an event. However, the option is never used thus remove it. This also will help in the Zephyr migration process. BUG=b:172360521 BRANCH=none TEST=make buildall Signed-off-by: Dawid Niedzwiecki Change-Id: Ic152fd3d6862d487bcc0024c48d136556c0b81bc Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2521599 Reviewed-by: Jett Rink Reviewed-by: Tom Hughes Reviewed-by: Jack Rosenthal Commit-Queue: Jack Rosenthal --- board/burnet/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/burnet/board.c') diff --git a/board/burnet/board.c b/board/burnet/board.c index 3ea5555ecf..c5329dcb03 100644 --- a/board/burnet/board.c +++ b/board/burnet/board.c @@ -237,7 +237,7 @@ int pd_snk_is_vbus_provided(int port) void bc12_interrupt(enum gpio_signal signal) { - task_set_event(TASK_ID_USB_CHG_P0, USB_CHG_EVENT_BC12, 0); + task_set_event(TASK_ID_USB_CHG_P0, USB_CHG_EVENT_BC12); } /* -- cgit v1.2.1