Commit 6fd84340 authored by Philippe Gerum's avatar Philippe Gerum

gpio: ipipe: convert to hard locking

The generic GPIO chip needs to be hard locked as its handlers may be
called from out-of-band code running in the head domain. To this end,
convert the regular spinlock protecting the gpio_chip descriptor to a
hard lock.
parent 1430346b
......@@ -154,7 +154,7 @@ struct gpio_chip {
void __iomem *reg_clr;
void __iomem *reg_dir;
int bgpio_bits;
spinlock_t bgpio_lock;
ipipe_spinlock_t bgpio_lock;
unsigned long bgpio_data;
unsigned long bgpio_dir;
#endif
......
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