|
@@ -8169,8 +8169,13 @@ static inline void hdd_pm_qos_update_request(struct hdd_context *hdd_ctx,
|
|
|
cpumask_t *pm_qos_cpu_mask)
|
|
|
{
|
|
|
cpumask_copy(&hdd_ctx->pm_qos_req.cpus_affine, pm_qos_cpu_mask);
|
|
|
+
|
|
|
/* Latency value to be read from INI */
|
|
|
- pm_qos_update_request(&hdd_ctx->pm_qos_req, 1);
|
|
|
+ if (cpumask_empty(pm_qos_cpu_mask))
|
|
|
+ pm_qos_update_request(&hdd_ctx->pm_qos_req,
|
|
|
+ PM_QOS_DEFAULT_VALUE);
|
|
|
+ else
|
|
|
+ pm_qos_update_request(&hdd_ctx->pm_qos_req, 1);
|
|
|
}
|
|
|
|
|
|
#ifdef CONFIG_SMP
|