commit | c1aaaa1cb7c82fe53463fba4928405fddcc4ea27 | [log] [tgz] |
---|---|---|
author | Marek Szyprowski <m.szyprowski@samsung.com> | Wed Sep 05 16:36:06 2018 +0200 |
committer | Lee Jones <lee.jones@linaro.org> | Tue Oct 23 08:58:34 2018 +0100 |
tree | dbd515f2d147ea8c7bb2b164021ec26758d6864a | |
parent | efddff27c886e729a7f84a7205bd84d7d4af7336 [diff] |
mfd: max8997: Disable interrupt handling for suspend/resume cycle Disable IRQs during suspend/resume cycle to ensure handling of wakeup interrupts (i.e. RTC wake alarm) after max8997_resume(). This way it can be properly handled when I2C bus is finally available. This pattern is also used in other MAX PMIC MFD drivers. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>