twl4030-irq.c: fix compiler warning due to raw-spinlock conversion
Commit 239007b844
("genirq: Convert irq_desc.lock to raw_spinlock")
seems to have missed this driver, leaving it to use the normal spin-lock
functions for the irq descriptor lock, which is now a raw lock.
Reported-and-compile-tested-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
df9d1e8a43
commit
cd6e125c58
1 changed files with 2 additions and 2 deletions
|
@ -568,12 +568,12 @@ static void twl4030_sih_do_edge(struct work_struct *work)
|
||||||
|
|
||||||
bytes[byte] &= ~(0x03 << off);
|
bytes[byte] &= ~(0x03 << off);
|
||||||
|
|
||||||
spin_lock_irq(&d->lock);
|
raw_spin_lock_irq(&d->lock);
|
||||||
if (d->status & IRQ_TYPE_EDGE_RISING)
|
if (d->status & IRQ_TYPE_EDGE_RISING)
|
||||||
bytes[byte] |= BIT(off + 1);
|
bytes[byte] |= BIT(off + 1);
|
||||||
if (d->status & IRQ_TYPE_EDGE_FALLING)
|
if (d->status & IRQ_TYPE_EDGE_FALLING)
|
||||||
bytes[byte] |= BIT(off + 0);
|
bytes[byte] |= BIT(off + 0);
|
||||||
spin_unlock_irq(&d->lock);
|
raw_spin_unlock_irq(&d->lock);
|
||||||
|
|
||||||
edge_change &= ~BIT(i);
|
edge_change &= ~BIT(i);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue