qcacmn: Replace RET_IP with rtpm_dbgid for runtime pm api

Current it use __RET_IP to get caller in rtpm resume
function, if it print info by %ps, it will do a
symbol lookup which takes time.

Change as replacing __RET_IP with rtpm_dbgid, so it is
still able to get caller information and avoid time
cost here.

Change-Id: Ifc70c118d621bb9e6d12de87582de09316ae9cad
CRs-Fixed: 3001690
This commit is contained in:
Jingxiang Ge
2021-07-27 17:27:18 +08:00
committed by Madan Koyyalamudi
parent 9008f98623
commit 0f98450843
4 changed files with 62 additions and 29 deletions

View File

@@ -2104,7 +2104,8 @@ irqreturn_t hif_wake_interrupt_handler(int irq, void *context)
if (hif_pm_runtime_get_monitor_wake_intr(hif_ctx)) {
hif_pm_runtime_set_monitor_wake_intr(hif_ctx, 0);
hif_pm_runtime_request_resume(hif_ctx);
hif_pm_runtime_request_resume(hif_ctx,
RTPM_ID_WAKE_INTR_HANDLER);
}
if (scn->initial_wakeup_cb)