diff options
Diffstat (limited to 'driver/ppc/aoz1380.c')
-rw-r--r-- | driver/ppc/aoz1380.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/ppc/aoz1380.c b/driver/ppc/aoz1380.c index 4936647f37..98605fe08b 100644 --- a/driver/ppc/aoz1380.c +++ b/driver/ppc/aoz1380.c @@ -143,7 +143,7 @@ static void aoz1380_handle_interrupt(int port) static void aoz1380_irq_deferred(void) { int i; - uint32_t pending = atomic_read_clear(&irq_pending); + uint32_t pending = atomic_clear(&irq_pending); for (i = 0; i < board_get_usb_pd_port_count(); i++) if (BIT(i) & pending) |