msm: cvp: Avoid reset CVP clock during power off

The change is to avoid SMMU fault introduced by MMNOC power
collapse and PMU enabling.

Change-Id: Iaa04af73ce2ffa4a51553f74d0cd956d199766ab
Signed-off-by: George Shen <sqiao@codeaurora.org>
This commit is contained in:
George Shen 2020-06-27 22:24:58 -07:00
commit 89ed8f1d2c

View file

@ -4175,10 +4175,10 @@ static void power_off_iris2(struct iris_hfi_device *device)
/* HPG 6.1.2 Step 6 */
__disable_unprepare_clks(device);
/* HPG 6.1.2 Step 7 & 8 */
if (call_iris_op(device, reset_ahb2axi_bridge, device))
dprintk(CVP_ERR, "Failed to reset ahb2axi\n");
/*
* HPG 6.1.2 Step 7 & 8
* per new HPG update, core clock reset will be unnecessary
*/
if (__unvote_buses(device))
dprintk(CVP_WARN, "Failed to unvote for buses\n");