Since commit b3db492e8335 ("PM: runtime: Mark last busy stamp in
pm_runtime_put_autosuspend()"), pm_runtime_put_autosuspend() updates
the last busy timestamp itself, so the explicit
pm_runtime_mark_last_busy() calls right before it are no longer needed.

Signed-off-by: Damon Ding <[email protected]>

---

Changes in v7:
- Add this patch to drop the redundant pm_runtime_mark_last_busy()
  calls, as pm_runtime_put_autosuspend() updates the last busy stamp
  since commit b3db492e8335.
---
 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c 
b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
index 8bb4c48aa3b4..50da43d64034 100644
--- a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
+++ b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
@@ -1369,7 +1369,6 @@ static ssize_t analogix_dpaux_transfer(struct drm_dp_aux 
*aux,
 
        ret = analogix_dp_transfer(dp, msg);
 out:
-       pm_runtime_mark_last_busy(dp->dev);
        pm_runtime_put_autosuspend(dp->dev);
 
        return ret;
@@ -1389,7 +1388,6 @@ static int analogix_dpaux_wait_hpd_asserted(struct 
drm_dp_aux *aux, unsigned lon
        ret = readx_poll_timeout(analogix_dp_get_plug_in_status, dp, val, !val,
                                 wait_us / 100, wait_us);
 
-       pm_runtime_mark_last_busy(dp->dev);
        pm_runtime_put_autosuspend(dp->dev);
 
        return ret;
-- 
2.34.1

Reply via email to