summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Peng <robinpeng@google.com>2022-10-20 04:24:16 +0000
committerRobin Peng <robinpeng@google.com>2022-10-22 17:12:40 +0000
commit541e8e9ffc271050fb8a97a69a034b942db2f9ed (patch)
treec46944a592d3f05e085c856ecd77cbb1480ae777
parentb2c3ba8f0c9f660535adcf036755c5f8c997b20f (diff)
downloadzuma-541e8e9ffc271050fb8a97a69a034b942db2f9ed.tar.gz
Moving to android14-5.15 ACK
Bug: 236259002 Signed-off-by: Robin Peng <robinpeng@google.com> Change-Id: I7849d5dc91b6fb31a04c35d8228d10d038eafc61
-rw-r--r--gxp-vd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gxp-vd.c b/gxp-vd.c
index e40cad6..fe58a8e 100644
--- a/gxp-vd.c
+++ b/gxp-vd.c
@@ -409,7 +409,6 @@ void gxp_vd_suspend(struct gxp_virtual_device *vd)
struct gxp_dev *gxp = vd->gxp;
u32 boot_state;
uint failed_cores = 0;
- uint virt_core;
#ifdef DISABLE_VD_SUSPEND_RESUME_SUPPORT
if (!gxp_is_direct_mode(gxp))
@@ -447,7 +446,7 @@ void gxp_vd_suspend(struct gxp_virtual_device *vd)
CORE_NOTIF_SUSPEND_REQUEST);
}
}
- virt_core = 0;
+
/* Wait for all cores to complete core suspension. */
for (core = 0; core < GXP_NUM_CORES; core++) {
if (gxp->core_to_vd[core] == vd) {
@@ -471,7 +470,6 @@ void gxp_vd_suspend(struct gxp_virtual_device *vd)
LPM_CG_STATE);
}
}
- virt_core++;
}
}
gxp_dma_domain_detach_device(gxp, vd->domain);