Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a1919aa0 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ipa: fix debugfs for hw stats"

parents 6d6ceea9 ffaa92ae
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -231,6 +231,9 @@ int ipa_get_quota_stats(struct ipa_quota_stats_all *out)

	IPADBG_LOW("offset = %d size = %d\n", offset.offset, offset.size);

	if (offset.size == 0)
		return 0;

	mem.size = offset.size;
	mem.base = dma_alloc_coherent(ipa3_ctx->pdev,
		mem.size,
@@ -541,6 +544,9 @@ int ipa_get_teth_stats(void)

	IPADBG_LOW("offset = %d size = %d\n", offset.offset, offset.size);

	if (offset.size == 0)
		return 0;

	mem.size = offset.size;
	mem.base = dma_alloc_coherent(ipa3_ctx->pdev,
		mem.size,
@@ -1099,6 +1105,11 @@ static int __ipa_get_flt_rt_stats(enum ipa_ip_type ip, bool filtering,

	IPADBG_LOW("offset = %d size = %d\n", offset.offset, offset.size);

	if (offset.size == 0) {
		ret = 0;
		goto free_offset;
	}

	mem.size = offset.size;
	mem.base = dma_alloc_coherent(ipa3_ctx->pdev,
		mem.size,
@@ -1368,6 +1379,9 @@ int ipa_get_drop_stats(struct ipa_drop_stats_all *out)

	IPADBG_LOW("offset = %d size = %d\n", offset.offset, offset.size);

	if (offset.size == 0)
		return 0;

	mem.size = offset.size;
	mem.base = dma_alloc_coherent(ipa3_ctx->pdev,
		mem.size,