qcacmn: Record caller and timestamp for pm_runtime_mark_last_busy

pm_runtime_mark_last_busy will extend the timer for runtime suspend.
Recording caller and timestamp can help to debug who may prevent
runtime PM suspend.

Change-Id: I4848a2558197e0fc9b7300421a5a1993817333e4
CRs-fixed: 2457803
This commit is contained in:
Yue Ma 2019-05-08 17:17:12 -07:00 • committed by nshrivas
commit ac6b275768
5 changed files with 47 additions and 31 deletions

View file

@ -1580,8 +1580,8 @@ uint32_t dp_rx_process(struct dp_intr *int_ctx, void *hal_ring,
hal_soc = soc->hal_soc;
qdf_assert_always(hal_soc);
hif_pm_runtime_mark_last_busy(soc->osdev->dev);
scn = soc->hif_handle;
hif_pm_runtime_mark_last_busy(scn);
intr_id = int_ctx->dp_intr_id;
more_data: