Skip to content
Commit 3f3e37a6 authored by Yong Cong Sin's avatar Yong Cong Sin Committed by Anas Nashif
Browse files

drivers: intc: plic: refactor lock in `plic_irq_enable_set_state()`



Move the lock out from the `plic_irq_enable_set_state()` function
to cover the entire configuration process, so the whole of
enable/disable is atomic.

Signed-off-by: default avatarYong Cong Sin <ycsin@meta.com>
Signed-off-by: default avatarYong Cong Sin <yongcong.sin@gmail.com>
parent f7770308
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment