Re: [PATCH] driver: soc: dpio: use the whole functions to protect critical zone

2021-10-19 Thread Li Yang
On Mon, Oct 18, 2021 at 10:07 PM wrote: > > From: Meng Li > > In orininal code, use 2 function spin_lock() and local_irq_save() to > protect the critical zone. But when enable the kernel debug config, > there are below inconsistent lock state detected. > > WARNING

[PATCH] driver: soc: dpio: use the whole functions to protect critical zone

2021-10-18 Thread Meng . Li
From: Meng Li In orininal code, use 2 function spin_lock() and local_irq_save() to protect the critical zone. But when enable the kernel debug config, there are below inconsistent lock state detected. WARNING: inconsistent lock state 5.10.63-yocto-standard #1 Not