[PATCH v8] i2c: xiic: restore non-managed runtime PM to fix clk WARN flood
Abdurrahman Hussain
abdurrahman at nexthop.ai
Thu Oct 15 14:04:38 PDT 2026
On Thu Oct 15, 2026 at 1:40 PM PDT, Andi Shyti wrote:
> Hi Abdurrahman,
>
> On Wed, Oct 14, 2026 at 04:56:55PM -0700, Abdurrahman Hussain wrote:
>> The devres conversion replaced manual pm_runtime_enable()/disable() with
>> devm_pm_runtime_set_active_enabled() and dropped the remove-time runtime
>> PM teardown. The managed release tears runtime PM down in the wrong
>> order: it calls pm_runtime_dont_use_autosuspend() before
>> pm_runtime_disable(), i.e. while runtime PM is still enabled, and devres
>> is LIFO so the devm_clk_get_enabled() release runs afterwards.
>
> ...
>
>> Fixes: 50c63491ff26 ("i2c: xiic: switch to devres managed APIs")
>> Signed-off-by: Abdurrahman Hussain <abdurrahman at nexthop.ai>
>
> pushed to i2c/i2c-fixes.
>
> Thanks,
> Andi
Thank you!
Abdurrahman
More information about the linux-arm-kernel
mailing list