diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2016-08-29 19:14:23 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-08-29 19:14:22 -0700 |
| commit | 166af733db5dd13712fffc3cf6e0352413909fed (patch) | |
| tree | bd1d48fb3573c2342676e83c1ce12dca305af477 | |
| parent | 78170f03d5329b8353bac480c9f153605dd23b9c (diff) | |
| parent | a58cf90d63b6239ede20c79f57b8ca0c4a27851c (diff) | |
Merge "scsi: ufs-qcom: skip svs2 configuration for newer controllers"
| -rw-r--r-- | drivers/scsi/ufs/ufs-qcom.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/scsi/ufs/ufs-qcom.c b/drivers/scsi/ufs/ufs-qcom.c index b8067a11a665..bfa82ca64499 100644 --- a/drivers/scsi/ufs/ufs-qcom.c +++ b/drivers/scsi/ufs/ufs-qcom.c @@ -2087,6 +2087,11 @@ static inline int ufs_qcom_configure_lpm(struct ufs_hba *hba, bool enable) if (!ufs_qcom_cap_svs2(host)) goto out; + if (!((host->hw_ver.major == 0x3) && + (host->hw_ver.minor == 0x0) && + (host->hw_ver.step == 0x0))) + goto out; + /* * The link should be put in hibern8 state before * configuring the PHY to enter/exit SVS2 mode. |
