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

Commit cd9016e1 authored by Mohammed Javid's avatar Mohammed Javid
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 7bcb1bb4
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -2291,6 +2291,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;