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

Commit 047b24d2 authored by Dinesh K Garg's avatar Dinesh K Garg
Browse files

crypto: ice: Update ICE regs with correct value for optimization



ICE optimization sequence is wrongly configured. Updating ICE regs
with correct value to keep ICE in optimized mode.

Change-Id: I3596fbbc0c18bca2278367fb81b642e2de3ed9d8
Signed-off-by: default avatarDinesh K Garg <dineshg@codeaurora.org>
parent 33697ae3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -316,7 +316,7 @@ static void qcom_ice_optimization_enable(struct ice_device *ice_dev)

	regval = qcom_ice_readl(ice_dev, QCOM_ICE_REGS_ADVANCED_CONTROL);
	if (ICE_REV(ice_dev->ice_hw_version, MAJOR) >= 2)
		regval |= 0x8D800100;
		regval |= 0xD807100;
	else if (ICE_REV(ice_dev->ice_hw_version, MAJOR) == 1)
		regval |= 0x3F007100;