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

Commit c8cc3b35 authored by Mohammed Javid's avatar Mohammed Javid Committed by Gerrit - the friendly Code Review server
Browse files

msm: ipa: Add support to get current ipa clock vote from apps



Add support to get current ipa clk_rate vote via debugfs.

Change-Id: Ia3590211f4ce6d29f10f8a2701d56a6ae0f30397
Signed-off-by: default avatarMohammed Javid <mjavid@codeaurora.org>
parent 8588eafd
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -2286,6 +2286,13 @@ void ipa3_debugfs_init(void)
		goto fail;
	}

	file = debugfs_create_u32("clk_rate", IPA_READ_ONLY_MODE,
		dent, &ipa3_ctx->curr_ipa_clk_rate);
	if (!file) {
		IPAERR("could not create clk_rate file\n");
		goto fail;
	}

	ipa_debugfs_init_stats(dent);

	return;