Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

i3c: dw: 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-reduntant explicit call to
pm_runtime_mark_last_busy().

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Link: https://lore.kernel.org/r/20250704075417.3218742-1-sakari.ailus@linux.intel.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

authored by

Sakari Ailus and committed by
Alexandre Belloni
5fa62d4e 0c2ce4fb

-8
-8
drivers/i3c/master/dw-i3c-master.c
··· 682 682 dw_i3c_master_enable(master); 683 683 684 684 rpm_out: 685 - pm_runtime_mark_last_busy(master->dev); 686 685 pm_runtime_put_autosuspend(master->dev); 687 686 return ret; 688 687 } ··· 811 812 else 812 813 ret = dw_i3c_ccc_set(master, ccc); 813 814 814 - pm_runtime_mark_last_busy(master->dev); 815 815 pm_runtime_put_autosuspend(master->dev); 816 816 return ret; 817 817 } ··· 893 895 dw_i3c_master_free_xfer(xfer); 894 896 895 897 rpm_out: 896 - pm_runtime_mark_last_busy(master->dev); 897 898 pm_runtime_put_autosuspend(master->dev); 898 899 return ret; 899 900 } ··· 978 981 ret = xfer->ret; 979 982 dw_i3c_master_free_xfer(xfer); 980 983 981 - pm_runtime_mark_last_busy(master->dev); 982 984 pm_runtime_put_autosuspend(master->dev); 983 985 return ret; 984 986 } ··· 1127 1131 ret = xfer->ret; 1128 1132 dw_i3c_master_free_xfer(xfer); 1129 1133 1130 - pm_runtime_mark_last_busy(master->dev); 1131 1134 pm_runtime_put_autosuspend(master->dev); 1132 1135 return ret; 1133 1136 } ··· 1294 1299 writel(readl(master->regs + DEVICE_CTRL) | DEV_CTRL_HOT_JOIN_NACK, 1295 1300 master->regs + DEVICE_CTRL); 1296 1301 1297 - pm_runtime_mark_last_busy(master->dev); 1298 1302 pm_runtime_put_autosuspend(master->dev); 1299 1303 return 0; 1300 1304 } ··· 1319 1325 1320 1326 if (rc) { 1321 1327 dw_i3c_master_set_sir_enabled(master, dev, data->index, false); 1322 - pm_runtime_mark_last_busy(master->dev); 1323 1328 pm_runtime_put_autosuspend(master->dev); 1324 1329 } 1325 1330 ··· 1338 1345 1339 1346 dw_i3c_master_set_sir_enabled(master, dev, data->index, false); 1340 1347 1341 - pm_runtime_mark_last_busy(master->dev); 1342 1348 pm_runtime_put_autosuspend(master->dev); 1343 1349 return 0; 1344 1350 }