scsi: ufs: Set latency requirement to 67 us

Qualcomm's implementation used the value from device tree node
qcom,pm-qos-cpu-group-latency-us (67 microseconds for atoll). Set
it manually to match PM QoS requests in other drivers.

Change-Id: I7aa175e90293f369cf4b838c2ff7d6b99177f1a8
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
fourteen
Alexander Winkowski 2 years ago committed by Jenna
parent 02a1d651cd
commit c9984381ee
  1. 2
      drivers/scsi/ufs/ufshcd.c

@ -4275,7 +4275,7 @@ static void ufshcd_pm_qos_get_worker(struct work_struct *work)
mutex_lock(&hba->pm_qos.lock);
if (atomic_read(&hba->pm_qos.count) && !hba->pm_qos.active) {
pm_qos_update_request(&hba->pm_qos.req, 100);
pm_qos_update_request(&hba->pm_qos.req, 67);
hba->pm_qos.active = true;
}
mutex_unlock(&hba->pm_qos.lock);

Loading…
Cancel
Save