linux/drivers/pmdomain/imx
Rafael J. Wysocki 7a73801fda pmdomain: imx: gpcv2: Discard pm_runtime_put() return value
Passing pm_runtime_put() return value to the callers is not particularly
useful.

Returning an error code from pm_runtime_put() merely means that it has
not queued up a work item to check whether or not the device can be
suspended and there are many perfectly valid situations in which that
can happen, like after writing "on" to the devices' runtime PM "control"
attribute in sysfs for one example.

Accordingly, update imx_pgc_domain_suspend() to simply discard the
return value of pm_runtime_put() and always return success to the
caller.

This will facilitate a planned change of the pm_runtime_put() return
type to void in the future.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://patch.msgid.link/15658107.tv2OnDr8pf@rafael.j.wysocki
2026-02-23 14:05:38 +01:00
..
gpc.c pmdomain: imx: Fix reference count leak in imx_gpc_probe() 2025-12-29 11:41:09 +01:00
gpcv2.c pmdomain: imx: gpcv2: Discard pm_runtime_put() return value 2026-02-23 14:05:38 +01:00
imx8m-blk-ctrl.c pmdomain: imx8m-blk-ctrl: fix out-of-range access of bc->domains 2026-01-30 12:16:42 +01:00
imx8mp-blk-ctrl.c pmdomain: imx8mp-blk-ctrl: Keep usb phy power domain on for system wakeup 2026-02-05 11:33:30 +01:00
imx93-blk-ctrl.c pmdomain: imx93-blk-ctrl: mask DSI and PXP PD domain register on i.MX91 2025-08-19 11:50:46 +02:00
imx93-pd.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
Kconfig
Makefile
scu-pd.c pmdomain: imx: scu-pd: Remove duplicated clocks 2024-08-05 12:44:36 +02:00