Thread (4 messages) 4 messages, 2 authors, 2020-07-16

Re: [PATCH] rtc: max77686: Do not allow interrupt to fire before system resume

From: Alexandre Belloni <alexandre.belloni@bootlin.com>
Date: 2020-07-16 09:15:29
Also in: lkml

On Mon, 15 Jun 2020 18:14:55 +0200, Krzysztof Kozlowski wrote:
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.
Applied, thanks!

[1/1] rtc: max77686: Do not allow interrupt to fire before system resume
      commit: d8f090dbeafdcc3d30761aa0062f19d1adf9ef08

Best regards,
-- 
Alexandre Belloni [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help