Skip to content
Snippets Groups Projects
Commit 622ba78f authored by Federico Vaga's avatar Federico Vaga
Browse files

core: ti and bi use the device-level spinlock


ZIO uses the device-level spinlock to protect device registers
during access; a buffer or a trigger instance can be assigned to
only one device on ZIO and if they are hardware implemented they
also live on the same perihperals. So we serialize all the
configuration operations on device, trigger and buffer by using
zio_device->lock.

Signed-off-by: default avatarFederico Vaga <federico.vaga@gmail.com>
Acked-by: default avatarAlessandro Rubini <rubini@gnudd.com>
parent c037dd98
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment