mbox series

[0/3] iio: Fix wakeup source leaks on device unbind

Message ID 20250406-b4-device-wakeup-leak-iio-v1-0-2d7d322a4a93@linaro.org
Headers show
Series iio: Fix wakeup source leaks on device unbind | expand

Message

Krzysztof Kozlowski April 6, 2025, 8:01 p.m. UTC
Device can be unbound, so driver must also release memory for the wakeup
source.

Best regards,
Krzysztof

---
Krzysztof Kozlowski (3):
      iio: accel: fxls8962af: Fix wakeup source leaks on device unbind
      iio: adc: qcom-spmi-iadc: Fix wakeup source leaks on device unbind
      iio: imu: st_lsm6dsx: Fix wakeup source leaks on device unbind

 drivers/iio/accel/fxls8962af-core.c          | 7 +++++--
 drivers/iio/adc/qcom-spmi-iadc.c             | 4 +++-
 drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c | 7 +++++--
 3 files changed, 13 insertions(+), 5 deletions(-)
---
base-commit: a4cda136f021ad44b8b52286aafd613030a6db5f
change-id: 20250406-b4-device-wakeup-leak-iio-4457b99b6a91

Best regards,

Comments

Jonathan Cameron April 12, 2025, 11:24 a.m. UTC | #1
On Sun, 06 Apr 2025 22:01:41 +0200
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote:

> Device can be unbound, so driver must also release memory for the wakeup
> source.
Applied to the fixes-togreg branch of iio.git.

I haven't marked them for stable as seems the resource leak is fairly
harmless.

Jonathan

> 
> Best regards,
> Krzysztof
> 
> ---
> Krzysztof Kozlowski (3):
>       iio: accel: fxls8962af: Fix wakeup source leaks on device unbind
>       iio: adc: qcom-spmi-iadc: Fix wakeup source leaks on device unbind
>       iio: imu: st_lsm6dsx: Fix wakeup source leaks on device unbind
> 
>  drivers/iio/accel/fxls8962af-core.c          | 7 +++++--
>  drivers/iio/adc/qcom-spmi-iadc.c             | 4 +++-
>  drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c | 7 +++++--
>  3 files changed, 13 insertions(+), 5 deletions(-)
> ---
> base-commit: a4cda136f021ad44b8b52286aafd613030a6db5f
> change-id: 20250406-b4-device-wakeup-leak-iio-4457b99b6a91
> 
> Best regards,