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

Commit eb2105ee authored by Skylar Chang's avatar Skylar Chang
Browse files

msm: ipa: Remove accessing spare register from IPA Driver



Spare register is not accessible from IPA driver.

Change-Id: Icea18d54c3ca01c90ffef735b429af3a78963cff
Signed-off-by: default avatarSkylar Chang <chiaweic@codeaurora.org>
parent 9998424e
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;
}