rockchip/rk3399: Fix QOS save/restore
The code was accidentally restoring the QOS on suspend and saving the QOS on resume. This is the opposite of what we want. Signed-off-by: Derek Basehore <dbasehore@chromium.org>
This commit is contained in:
parent
3580a497b5
commit
b2a0af1bff
|
@ -95,7 +95,7 @@ static void pmu_bus_idle_req(uint32_t bus, uint32_t state)
|
|||
|
||||
struct pmu_slpdata_s pmu_slpdata;
|
||||
|
||||
static void qos_save(void)
|
||||
static void qos_restore(void)
|
||||
{
|
||||
if (pmu_power_domain_st(PD_GPU) == pmu_pd_on)
|
||||
RESTORE_QOS(pmu_slpdata.gpu_qos, GPU);
|
||||
|
@ -161,7 +161,7 @@ static void qos_save(void)
|
|||
}
|
||||
}
|
||||
|
||||
static void qos_restore(void)
|
||||
static void qos_save(void)
|
||||
{
|
||||
if (pmu_power_domain_st(PD_GPU) == pmu_pd_on)
|
||||
SAVE_QOS(pmu_slpdata.gpu_qos, GPU);
|
||||
|
|
Loading…
Reference in New Issue