MFD: mcp-core: fix complaints from the genirq layer
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 14 Jan 2012 08:49:46 +0000 (08:49 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 20 Jan 2012 17:57:35 +0000 (17:57 +0000)
The genirq layer complains if an interrupt handler returns with
interrupts enabled.  The UCB1x00 handler does just this, because
ucb1x00_enable() calls mcp_enable(), which uses spin_lock_irq()
rather than spin_lock_irqsave().  Convert this, and the divisor
setting functions to use spin_lock_irqsave().

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found