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

Commit adf605a4 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ipa3: IPA HW version check for FnR stats"

parents c0be83b0 132d0912
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1078,6 +1078,12 @@ int ipa_get_flt_rt_stats(struct ipa_ioc_flt_rt_query *query)
		return 0;
	}

	if (ipa3_ctx->ipa_hw_type < IPA_HW_v4_5) {
		IPAERR("FnR stats not supported in %d hw_type\n",
			ipa3_ctx->ipa_hw_type);
		return 0;
	}

	if (query->start_id == 0 || query->end_id == 0) {
		IPAERR("Invalid start_id/end_id, must be not 0");
		IPAERR("start_id %d, end_id %d\n",