diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2017-03-30 07:20:22 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-03-30 07:20:22 -0700 |
| commit | dc99ab9dfe93bcf7fc9399cd233895b92333baea (patch) | |
| tree | 958a4a8e69b3e8d7eceeabcb797e274f9f56867d | |
| parent | 4b62ecc631876636dd4804ac0e3797338233828f (diff) | |
| parent | 57dd904196b8d0177885dc146f77a5e00078f80c (diff) | |
Merge "mmc: sdhci-msm: Change pm_qos cpu groups latency to PM_QOS_DEFAULT_VALUE"
| -rw-r--r-- | drivers/mmc/host/sdhci-msm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c index b696f54286da..3e51c9a86250 100644 --- a/drivers/mmc/host/sdhci-msm.c +++ b/drivers/mmc/host/sdhci-msm.c @@ -3913,8 +3913,8 @@ void sdhci_msm_pm_qos_cpu_init(struct sdhci_host *host, group->req.type = PM_QOS_REQ_AFFINE_CORES; cpumask_copy(&group->req.cpus_affine, &msm_host->pdata->pm_qos_data.cpu_group_map.mask[i]); - /* For initialization phase, set the performance mode latency */ - group->latency = latency[i].latency[SDHCI_PERFORMANCE_MODE]; + /* We set default latency here for all pm_qos cpu groups. */ + group->latency = PM_QOS_DEFAULT_VALUE; pm_qos_add_request(&group->req, PM_QOS_CPU_DMA_LATENCY, group->latency); pr_info("%s (): voted for group #%d (mask=0x%lx) latency=%d (0x%p)\n", |
