Re: [PATCH v8] i2c: xiic: restore non-managed runtime PM to fix clk WARN flood
From: Andi Shyti
Date: Thu Oct 15 2026 - 16:48:00 EST
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@xxxxxxxxxx>
pushed to i2c/i2c-fixes.
Thanks,
Andi