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

Commit 8478dd87 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 to make sure IPA clock is on"

parents 9ea352bf 9cce3609
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
/* Copyright (c) 2012-2015, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-2016, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -1609,6 +1609,7 @@ int ipa_q6_monitor_holb_mitigation(bool enable)
	int ep_idx;
	int client_idx;

	IPA2_ACTIVE_CLIENTS_INC_SIMPLE();
	for (client_idx = 0; client_idx < IPA_CLIENT_MAX; client_idx++) {
		if (IPA_CLIENT_IS_Q6_NON_ZIP_CONS(client_idx)) {
			ep_idx = ipa2_get_ep_mapping(client_idx);
@@ -1620,6 +1621,7 @@ int ipa_q6_monitor_holb_mitigation(bool enable)
			ipa_uc_monitor_holb(client_idx, enable);
		}
	}
	IPA2_ACTIVE_CLIENTS_DEC_SIMPLE();

	return 0;
}