From fc5f9662cd4ad5bd6fe69226e2034d512c78e1b2 Mon Sep 17 00:00:00 2001 From: Tzung-Bi Shih Date: Tue, 30 Jun 2020 08:19:51 +0800 Subject: chip/mt8192_scp: use 0 for dummy priority number 3rd argument of DECLARE_IRQ is dummy in core/riscv-rv32i. Uses 0 for them to avoid misunderstanding. BRANCH=none BUG=b:146213943 BUG=b:156220843 BUG=b:156221696 TEST=make BOARD=asurada_scp Signed-off-by: Tzung-Bi Shih Change-Id: Id0ea8e7c432eb0e09324864865bea9adc72264f6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2275708 Reviewed-by: Eric Yilun Lin --- chip/mt8192_scp/hrtimer.c | 2 +- chip/mt8192_scp/uart.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'chip') diff --git a/chip/mt8192_scp/hrtimer.c b/chip/mt8192_scp/hrtimer.c index dfa451b612..a3f0ed3298 100644 --- a/chip/mt8192_scp/hrtimer.c +++ b/chip/mt8192_scp/hrtimer.c @@ -218,4 +218,4 @@ static void irq_group6_handler(void) break; } } -DECLARE_IRQ(6, irq_group6_handler, 2); +DECLARE_IRQ(6, irq_group6_handler, 0); diff --git a/chip/mt8192_scp/uart.c b/chip/mt8192_scp/uart.c index 9ed9284e24..6264b03b07 100644 --- a/chip/mt8192_scp/uart.c +++ b/chip/mt8192_scp/uart.c @@ -139,7 +139,7 @@ static void irq_group12_handler(void) break; } } -DECLARE_IRQ(12, irq_group12_handler, 2); +DECLARE_IRQ(12, irq_group12_handler, 0); #else #ifndef HAS_TASK_APUART -- cgit v1.2.1