commit | 98250221691f728b7cad6deed98866f8847e683f | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Sat Jan 14 08:49:46 2012 +0000 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Fri Jan 20 17:57:35 2012 +0000 |
tree | b0d75ec3f7ef11545f1d79c7384bf6d3630f4a9a | |
parent | 65f2e753f1eb09d3a7e2a0d16408a5433b4097b2 [diff] |
MFD: mcp-core: fix complaints from the genirq layer 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>