cpcap: suspend/resume
authorTodd Poynor <toddpoynor@google.com>
Thu, 5 Aug 2010 03:25:59 +0000 (20:25 -0700)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:33:33 +0000 (16:33 -0700)
commita7ac4fced215c7c371c42effcfddf7ed7121b6fb
treeadb0674b1d4e18c8846c056289578312fde1bee0
parent1fa241ab56fc48acca8fdf165d4e7db49860bd49
cpcap: suspend/resume

Disable cpcap interrupts at suspend and re-enable at resume, to avoid
processing interrupts while the SPI controller is suspended.

Change-Id: I26676b8ce8983bf5477f169a15d811c474c6f5a4
Signed-off-by: Todd Poynor <toddpoynor@google.com>
drivers/mfd/cpcap-core.c
drivers/mfd/cpcap-irq.c
include/linux/spi/cpcap.h