diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-06-15 18:14:55 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2020-07-16 11:13:45 +0200 |
commit | d8f090dbeafdcc3d30761aa0062f19d1adf9ef08 (patch) | |
tree | 3d19fdcf2e85b8bdee897d2936d35abf55dbcc68 /drivers/nvmem/snvs_lpgpr.c | |
parent | 05513a706b4f8f978c0ecc97b6d99793fbaaaf17 (diff) | |
download | linux-stable-d8f090dbeafdcc3d30761aa0062f19d1adf9ef08.tar.gz linux-stable-d8f090dbeafdcc3d30761aa0062f19d1adf9ef08.tar.bz2 linux-stable-d8f090dbeafdcc3d30761aa0062f19d1adf9ef08.zip |
rtc: max77686: Do not allow interrupt to fire before system resume
The rtc-max77686 device shares the main interrupt line with parent MFD
device (max77686 driver). During the system suspend, the parent MFD
device disables this IRQ to prevent an early event happening before
resuming I2C bus controller.
The same should be done by rtc-max77686 driver because otherwise the
interrupt handler max77686_rtc_alarm_irq() will be called before its
resume function (max77686_rtc_resume()). Such issue is not fatal but
disabling shared IRQ by all users ensures correct behavior.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20200615161455.4420-1-krzk@kernel.org
Diffstat (limited to 'drivers/nvmem/snvs_lpgpr.c')
0 files changed, 0 insertions, 0 deletions