mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
msm: cvp: Reverse cvp gdsc and cbcr ctrl sequence
It fixes a CVP CBCR access timeout induced NOC ERR. Change-Id: I5ec7b016c0db62b84ffc05c58cba5cbc3b29f98d Signed-off-by: George Shen <sqiao@codeaurora.org>
This commit is contained in:
parent
1264c046de
commit
762ad3fd5b
1 changed files with 4 additions and 4 deletions
|
|
@ -4144,10 +4144,6 @@ static void power_off_iris2(struct iris_hfi_device *device)
|
|||
dprintk(CVP_WARN,
|
||||
"DBLP Release: lpi_status %x\n", lpi_status);
|
||||
}
|
||||
/* HPG 6.1.2 Step 5 */
|
||||
if (__disable_regulators(device))
|
||||
dprintk(CVP_WARN, "Failed to disable regulators\n");
|
||||
|
||||
|
||||
/* HPG 6.1.2 Step 6 */
|
||||
__disable_unprepare_clks(device);
|
||||
|
|
@ -4159,6 +4155,10 @@ static void power_off_iris2(struct iris_hfi_device *device)
|
|||
if (__unvote_buses(device))
|
||||
dprintk(CVP_WARN, "Failed to unvote for buses\n");
|
||||
|
||||
/* HPG 6.1.2 Step 5 */
|
||||
if (__disable_regulators(device))
|
||||
dprintk(CVP_WARN, "Failed to disable regulators\n");
|
||||
|
||||
/*Do not access registers after this point!*/
|
||||
device->power_enabled = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue