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

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

Merge "msm: ipa3: Enabling the HOLB on USB consumer pipe for APQ target"

parents 4e518ff1 0c54a353
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
 * Copyright (c) 2012-2021, The Linux Foundation. All rights reserved.
 */

#include <asm/barrier.h>
@@ -73,6 +73,11 @@ int ipa3_enable_data_path(u32 clnt_hdl)
				holb_cfg.tmr_val = IPA_HOLB_TMR_VAL;
			else
				holb_cfg.tmr_val = IPA_HOLB_TMR_VAL_4_5;
		} else if (ipa3_ctx->ipa_hw_type == IPA_HW_v4_5 &&
				ipa3_ctx->platform_type == IPA_PLAT_TYPE_APQ &&
				ep->client == IPA_CLIENT_USB_CONS) {
			holb_cfg.en = IPA_HOLB_TMR_EN;
			holb_cfg.tmr_val = IPA_HOLB_TMR_VAL_4_5;
		} else {
			holb_cfg.en = IPA_HOLB_TMR_DIS;
			holb_cfg.tmr_val = 0;