[PATCH 06/10] iio: adc: imx93_adc: remove redundant pm_runtime_dont_use_autosuspend() call

Bough Chen haibo.chen at nxp.com
Thu Nov 5 18:11:19 PST 2026


> -----Original Message-----
> From: Joshua Crofts <crofts at kernel.org>
> Sent: Thursday, November 5, 2026 8:17 PM
> To: Jonathan Cameron <jic23 at kernel.org>; David Lechner
> <dlechner at baylibre.com>; Nuno Sá <nuno.sa at analog.com>; Andy Shevchenko
> <andy at kernel.org>; Eugen Hristev <ehristev at kernel.org>; Nicolas Ferre
> <nicolas.ferre at microchip.com>; Alexandre Belloni
> <alexandre.belloni at bootlin.com>; Claudiu Beznea <claudiu.beznea at tuxon.dev>;
> Bough Chen <haibo.chen at nxp.com>; Frank Li <frank.li at nxp.com>; Sascha Hauer
> <s.hauer at pengutronix.de>; Pengutronix Kernel Team <kernel at pengutronix.de>;
> Fabio Estevam <festevam at gmail.com>
> Cc: linux-iio at vger.kernel.org; linux-kernel at vger.kernel.org; linux-arm-
> kernel at lists.infradead.org; imx at lists.linux.dev
> Subject: [PATCH 06/10] iio: adc: imx93_adc: remove redundant
> pm_runtime_dont_use_autosuspend() call
> 
> Since commit d1706f9da9f4 ("PM: runtime: call
> pm_runtime_dont_use_autosuspend() on reinit()"), driver core is now responsible
> for undoing any
> pm_runtime_use_autosuspend() calls on driver exit.
> 
> Remove the redundant function call.

Reviewed-by: Haibo Chen <haibo.chen at nxp.com>

Thanks
Haibo Chen
> 
> Signed-off-by: Joshua Crofts <crofts at kernel.org>
> ---
>  drivers/iio/adc/imx93_adc.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/iio/adc/imx93_adc.c b/drivers/iio/adc/imx93_adc.c index
> 797adaf371ba..1ced0c59609c 100644
> --- a/drivers/iio/adc/imx93_adc.c
> +++ b/drivers/iio/adc/imx93_adc.c
> @@ -415,7 +415,6 @@ static void imx93_adc_remove(struct platform_device
> *pdev)
>  	pm_runtime_get_sync(dev);
> 
>  	pm_runtime_disable(dev);
> -	pm_runtime_dont_use_autosuspend(dev);
>  	pm_runtime_put_noidle(dev);
> 
>  	iio_device_unregister(indio_dev);
> --
> 2.47.3




More information about the linux-arm-kernel mailing list