public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] rtc: isl1208: Fix IRQ return value and wake reference leak
@ 2026-04-25 15:49 John Madieu
  2026-04-25 15:49 ` [PATCH 1/2] rtc: isl1208: Fix returning errno as irqreturn_t in IRQ handler John Madieu
  2026-04-25 15:49 ` [PATCH 2/2] rtc: isl1208: Balance enable_irq_wake() with disable_irq_wake() on cleanup John Madieu
  0 siblings, 2 replies; 10+ messages in thread
From: John Madieu @ 2026-04-25 15:49 UTC (permalink / raw)
  To: alexandre.belloni
  Cc: ryan, akpm, m.grzeschik, Denis.Osterland, linux-rtc, linux-kernel,
	biju.das.jz, john.madieu, John Madieu

Hi all,

This series fixes two issues in rtc-isl1208. The first is
isl1208_rtc_interrupt() returning negative i2c errnos where
irqreturn_t is expected, which genirq flags as bogus and logs
on each IRQ. The second is a wake-reference leak: setup_irq()
calls enable_irq_wake() on success but the driver has no remove
path that balances it, so each rebind cycle leaks one wake
reference per IRQ.

John Madieu (2):
  rtc: isl1208: Fix returning errno as irqreturn_t in IRQ handler
  rtc: isl1208: Balance enable_irq_wake() with disable_irq_wake() on
    cleanup

 drivers/rtc/rtc-isl1208.c | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-04-27  6:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-25 15:49 [PATCH 0/2] rtc: isl1208: Fix IRQ return value and wake reference leak John Madieu
2026-04-25 15:49 ` [PATCH 1/2] rtc: isl1208: Fix returning errno as irqreturn_t in IRQ handler John Madieu
2026-04-25 17:16   ` Biju Das
2026-04-26 17:48     ` John Madieu
2026-04-27  5:51       ` Biju Das
2026-04-25 15:49 ` [PATCH 2/2] rtc: isl1208: Balance enable_irq_wake() with disable_irq_wake() on cleanup John Madieu
2026-04-25 16:39   ` Biju Das
2026-04-25 18:36     ` Alexandre Belloni
2026-04-26 18:23       ` John Madieu
2026-04-27  6:07       ` Biju Das

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox