]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iio: dac: Remove redundant pm_runtime_mark_last_busy() calls
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 28 Aug 2025 14:06:17 +0000 (17:06 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 30 Aug 2025 19:50:21 +0000 (20:50 +0100)
commit7c873e3f04fd3e245890ddfde261f83d6aaa9ddb
treec651ad70f98e32a14d3ac85a7880ae157e47c802
parentdfbbee0907fb30a1dd31ff1a84e1bd34bd824369
iio: dac: Remove redundant pm_runtime_mark_last_busy() calls

pm_runtime_put_autosuspend(), pm_runtime_put_sync_autosuspend(),
pm_runtime_autosuspend() and pm_request_autosuspend() now include a call
to pm_runtime_mark_last_busy(). Remove the now-redundant explicit call to
pm_runtime_mark_last_busy().

Also clean up error handling in stm32_dac_set_enable_state().

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://patch.msgid.link/20250828140617.3193288-1-sakari.ailus@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/dac/stm32-dac.c