Commit b2065c7f authored by Philippe Gerum's avatar Philippe Gerum
Browse files

ipipe: bgpio: protect handlers with hard locking

parent 62946fd1
......@@ -50,7 +50,7 @@ struct bgpio_chip {
* Used to lock bgpio_chip->data. Also, this is needed to keep
* shadowed and real data registers writes together.
*/
spinlock_t lock;
ipipe_spinlock_t lock;
/* Shadowed data register to clear/set bits safely. */
unsigned long data;
......
Markdown is supported
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