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

i3c: master: svc: 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>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20250704075416.3218647-1-sakari.ailus@linux.intel.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

authored by

Sakari Ailus and committed by
Alexandre Belloni
0c2ce4fb bc4a09d8

-8
-8
drivers/i3c/master/svc-i3c-master.c
··· 665 665 } 666 666 667 667 rpm_out: 668 - pm_runtime_mark_last_busy(master->dev); 669 668 pm_runtime_put_autosuspend(master->dev); 670 669 671 670 return ret; ··· 779 780 goto rpm_out; 780 781 781 782 rpm_out: 782 - pm_runtime_mark_last_busy(master->dev); 783 783 pm_runtime_put_autosuspend(master->dev); 784 784 785 785 return ret; ··· 800 802 /* Disable master */ 801 803 writel(0, master->regs + SVC_I3C_MCONFIG); 802 804 803 - pm_runtime_mark_last_busy(master->dev); 804 805 pm_runtime_put_autosuspend(master->dev); 805 806 } 806 807 ··· 1205 1208 dev_err(master->dev, "Cannot handle such a list of devices"); 1206 1209 1207 1210 rpm_out: 1208 - pm_runtime_mark_last_busy(master->dev); 1209 1211 pm_runtime_put_autosuspend(master->dev); 1210 1212 1211 1213 return ret; ··· 1513 1517 } 1514 1518 spin_unlock_irqrestore(&master->xferqueue.lock, flags); 1515 1519 1516 - pm_runtime_mark_last_busy(master->dev); 1517 1520 pm_runtime_put_autosuspend(master->dev); 1518 1521 } 1519 1522 ··· 1802 1807 1803 1808 ret = i3c_master_disec_locked(m, dev->info.dyn_addr, I3C_CCC_EVENT_SIR); 1804 1809 1805 - pm_runtime_mark_last_busy(master->dev); 1806 1810 pm_runtime_put_autosuspend(master->dev); 1807 1811 1808 1812 return ret; ··· 1834 1840 if (!master->enabled_events) 1835 1841 svc_i3c_master_disable_interrupts(master); 1836 1842 1837 - pm_runtime_mark_last_busy(master->dev); 1838 1843 pm_runtime_put_autosuspend(master->dev); 1839 1844 1840 1845 return 0; ··· 1953 1960 if (ret) 1954 1961 goto rpm_disable; 1955 1962 1956 - pm_runtime_mark_last_busy(&pdev->dev); 1957 1963 pm_runtime_put_autosuspend(&pdev->dev); 1958 1964 1959 1965 return 0;