All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] mfd: Fix wakeup source leaks on device unbind
@ 2025-04-06 19:50 Krzysztof Kozlowski
  2025-04-06 19:50 ` [PATCH 1/8] mfd: 88pm886: " Krzysztof Kozlowski
                   ` (8 more replies)
  0 siblings, 9 replies; 15+ messages in thread
From: Krzysztof Kozlowski @ 2025-04-06 19:50 UTC (permalink / raw)
  To: Karel Balej, Lee Jones, Chanwoo Choi, Krzysztof Kozlowski,
	Orson Zhai, Baolin Wang, Chunyan Zhang
  Cc: linux-kernel, Krzysztof Kozlowski

Device can be unbound, so driver must also release memory for the wakeup
source.  Use devm for driver already having devm interface and manually
disable wakeup for drivers still having remove() callback to keep
consistent ordering of cleanups.

I did not update the drivers with suppress_bind_attrs and no error paths
after device_init_wakeup() because it would not bring any benefits.

Best regards,
Krzysztof

---
Krzysztof Kozlowski (8):
      mfd: 88pm886: Fix wakeup source leaks on device unbind
      mfd: as3722: Fix wakeup source leaks on device unbind
      mfd: max14577: Fix wakeup source leaks on device unbind
      mfd: max77541: Fix wakeup source leaks on device unbind
      mfd: max77705: Fix wakeup source leaks on device unbind
      mfd: max8925: Fix wakeup source leaks on device unbind
      mfd: rt5033: Fix wakeup source leaks on device unbind
      mfd: sprd-sc27xx: Fix wakeup source leaks on device unbind

 drivers/mfd/88pm886.c         | 6 +++++-
 drivers/mfd/as3722.c          | 4 +++-
 drivers/mfd/max14577.c        | 1 +
 drivers/mfd/max77541.c        | 2 +-
 drivers/mfd/max77705.c        | 4 +++-
 drivers/mfd/max8925-i2c.c     | 1 +
 drivers/mfd/rt5033.c          | 6 +++++-
 drivers/mfd/sprd-sc27xx-spi.c | 5 ++++-
 8 files changed, 23 insertions(+), 6 deletions(-)
---
base-commit: a4cda136f021ad44b8b52286aafd613030a6db5f
change-id: 20250406-mfd-device-wakekup-leak-a98a99acb1fa

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


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

end of thread, other threads:[~2025-05-08 14:14 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-06 19:50 [PATCH 0/8] mfd: Fix wakeup source leaks on device unbind Krzysztof Kozlowski
2025-04-06 19:50 ` [PATCH 1/8] mfd: 88pm886: " Krzysztof Kozlowski
2025-04-08 13:45   ` Karel Balej
2025-04-06 19:50 ` [PATCH 2/8] mfd: as3722: " Krzysztof Kozlowski
2025-04-06 19:50 ` [PATCH 3/8] mfd: max14577: " Krzysztof Kozlowski
2025-04-15 15:49   ` Lee Jones
2025-04-06 19:50 ` [PATCH 4/8] mfd: max77541: " Krzysztof Kozlowski
2025-04-06 19:50 ` [PATCH 5/8] mfd: max77705: " Krzysztof Kozlowski
2025-04-06 19:50 ` [PATCH 6/8] mfd: max8925: " Krzysztof Kozlowski
2025-04-15 15:48   ` Lee Jones
2025-05-01 15:17     ` Krzysztof Kozlowski
2025-04-06 19:50 ` [PATCH 7/8] mfd: rt5033: " Krzysztof Kozlowski
2025-04-06 19:50 ` [PATCH 8/8] mfd: sprd-sc27xx: " Krzysztof Kozlowski
2025-04-07  1:56   ` Baolin Wang
2025-05-08 14:14 ` [PATCH 0/8] mfd: " Lee Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.