beginner question about cfi_spin_lock()
why the struct flchip must be protected with:
- local_bh_disable()
- preempt_disable()
- spin_lock()
isn't that a bit overkill? Won't a mutex (semaphore) be sufficient?
Thanx
Signature · 1 line
Linh Dang