Re: [PATCH] iio: accel: kxcjk-1013: disable autosuspend on remove
From: Joshua Crofts
Date: Mon Sep 14 2026 - 09:12:25 EST
On Mon, 14 Sep 2026 19:20:53 +0800
Guangshuo Li <lgs201920130244@xxxxxxxxx> wrote:
...
> Add the missing pm_runtime_dont_use_autosuspend() call to the remove
> path.
>
> This issue was found by manual code inspection.
>
I'm on the fence whether this sentence should go under the ---
...
> @@ -1547,6 +1547,7 @@ static void kxcjk1013_remove(struct i2c_client *client)
>
> iio_device_unregister(indio_dev);
>
> + pm_runtime_dont_use_autosuspend(&client->dev);
> pm_runtime_disable(&client->dev);
> pm_runtime_set_suspended(&client->dev);
>
It would've been better if you sent the 4 patches as a series with a cover
letter as all of them are the same fix.
Reviewed-by: Joshua Crofts <joshua.crofts1@xxxxxxxxx>
--
Kind regards,
Joshua Crofts