Thread (3 messages) 3 messages, 3 authors, 2025-10-12

Re: [PATCH] iio: adc: Fix pm runtime clean-up in sun4i_gpadc_probe

From: Andy Shevchenko <hidden>
Date: 2025-10-08 16:58:27
Also in: linux-iio, linux-sunxi, lkml

On Wed, Oct 8, 2025 at 7:52 PM Shuhao Fu [off-list ref] wrote:
In `sun4i_gpadc_probe`, in case of thermal register failure, the runtime
PM usage counter would not be decreased, resulting in a possible
inconsistency of runtime PM state.

Fixes: b0a242894f11 ("iio: adc: sun4i-gpadc-iio: register in the thermal after registering in pm")
This might fix this problem, but it doesn't fix the whole mess in the
probe with devm/non-devm ordering.

-- 
With Best Regards,
Andy Shevchenko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help