mfd: motorola-cpcap: Disable interrupt for suspend
authorTony Lindgren <tony@atomide.com>
Mon, 6 Jul 2020 18:39:34 +0000 (11:39 -0700)
committerLee Jones <lee.jones@linaro.org>
Thu, 13 Aug 2020 06:49:42 +0000 (07:49 +0100)
commit819e42e00d2eca536d5187de21971ed345861102
tree28f5c4399be1d4d138874e3df557adc58dd4209a
parent7d2594cd1fa0b03b2746ce811926ee150a3a14fa
mfd: motorola-cpcap: Disable interrupt for suspend

Otherwise we get spammed with errors on resume after rtcwake:

 cpcap-core spi0.0: Failed to read IRQ status: -108

Note that rtcwake is still capable of waking up the system with
this patch.

Cc: Merlijn Wajer <merlijn@wizzup.org>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/motorola-cpcap.c