summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSubhash Jadavani <subhashj@codeaurora.org>2014-10-16 12:44:01 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 10:57:40 -0700
commit952cb54f1f5dc0cffa31e9997e98abfb2c3e2685 (patch)
treea364ebc49918d4931d9f960525144a32766ddbd3 /include/linux
parent9f06dddf5beecbcdf36535e0e587c23aaa7785f5 (diff)
scsi: ufs: fix setting init power mode
Immediately after successful UFS link startup, UFS link power mode would be in PWM-G1, 1-lane, SLOW-AUTO mode. But currently we are doing few of the DME local/peer attributes access before setting the "hba->pwr_info" to default power mode. If we are doing link startup as part of error recovery then old power mode might be set to FAST mode and doing DME peer access (after link startup but before updating "hba->pwr_info" to default power mode) unintentionally tries to switch from FAST to FAST_AUTO mode (if UFSHCD_QUIRK_DME_PEER_ACCESS_AUTO_MODE quirk is enabled). Above issue is fixed by setting the default power mode immediately after successful link startup. Change-Id: Ica332298114c9d24ecf67c7e452cebc07656415c Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org> [subhashj@codeaurora.org: resolved trivial merge conflicts] Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions