1
0

qcacmn: Add dbgid for each runtime put/get

This is to enhance statics for runtime put/get, which is
to detect if there is mismatch for usage_count.

Change-Id: I24cddb9d10e4cb675c8375cbd0f589c7718bd680
CRs-Fixed: 2647972
Este cometimento está contido em:
Jingxiang Ge
2020-03-27 10:17:43 +08:00
cometido por nshrivas
ascendente 2905d1d38f
cometimento e7d41574f3
11 ficheiros modificados com 340 adições e 156 eliminações

Ver ficheiro

@@ -4884,7 +4884,8 @@ dp_print_ring_stats(struct dp_pdev *pdev)
int mac_id;
int lmac_id;
if (hif_pm_runtime_get_sync(pdev->soc->hif_handle))
if (hif_pm_runtime_get_sync(pdev->soc->hif_handle,
RTPM_ID_DP_PRINT_RING_STATS))
return;
dp_print_ring_stat_from_hal(pdev->soc,
@@ -4955,7 +4956,8 @@ dp_print_ring_stats(struct dp_pdev *pdev)
[lmac_id],
RXDMA_DST);
}
hif_pm_runtime_put(pdev->soc->hif_handle);
hif_pm_runtime_put(pdev->soc->hif_handle,
RTPM_ID_DP_PRINT_RING_STATS);
}
/**