summaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorCan Guo <cang@codeaurora.org>2020-03-26 10:25:41 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2020-03-27 03:56:33 +0100
commite89860f196fca353d1b93c95b6a5b4fd88178d3b (patch)
tree91f81bd380768d56737862ed16f29f6a4450cdf3 /.clang-format
parentscsi: dc395x: remove dc395x_bios_param (diff)
downloadlinux-e89860f196fca353d1b93c95b6a5b4fd88178d3b.tar.xz
linux-e89860f196fca353d1b93c95b6a5b4fd88178d3b.zip
scsi: ufs: Do not rely on prefetched data
We were setting bActiveICCLevel attribute for UFS device only once but the type of this attribute has changed from persistent to volatile since UFS device specification v2.1. This attribute is set to the default value after power cycle or hardware reset event. It isn't safe to rely on prefetched data (only used for bActiveICCLevel attribute now). Hence this change removes the code related to data prefetching and set this parameter on every attempt to probe the UFS device. Tested-by: Stanley Chu <stanley.chu@mediatek.com> Reviewed-by: Stanley Chu <stanley.chu@mediatek.com> Reviewed-by: Avri Altman <avri.altman@wdc.com> Signed-off-by: Can Guo <cang@codeaurora.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions