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

Commit fb4fc031 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: Remove accessing spare register from IPA Driver"

parents 3dc53d8b eb2105ee
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -84,8 +84,6 @@
#define IPA_COUNTER_CFG_EOT_COAL_GRAN_SHFT 0x0
#define IPA_COUNTER_CFG_AGGR_GRAN_BMSK 0x1F0
#define IPA_COUNTER_CFG_AGGR_GRAN_SHFT 0x4
#define IPA_SPARE_REG_1_OFST 0x00003090
#define IPA_SPARE_REG_1_IGNORE_TRAILING_ZERO_ERR_SHFT 21
 /*
 * End of IPA 2.5 Registers
 */
+0 −6
Original line number Diff line number Diff line
@@ -770,13 +770,7 @@ int ipa_init_hw(void)
	if (ipa_ctx->ipa_hw_type == IPA_HW_v2_5) {
		/* set ipa_bcr to 0xFFFFFFFF for using new IPA behavior */
		ipa_write_reg(ipa_ctx->mmio, IPA_BCR_OFST, IPA_BCR_REG_VAL);

		/* Disable HW error generation on zero trailing byte issue */
		ipa_write_reg(ipa_ctx->mmio,
			IPA_SPARE_REG_1_OFST,
			BIT(IPA_SPARE_REG_1_IGNORE_TRAILING_ZERO_ERR_SHFT));
	}

	return 0;
}