summaryrefslogtreecommitdiff
path: root/drivers/scsi/advansys.c
diff options
context:
space:
mode:
authorCan Guo <cang@codeaurora.org>2020-03-26 02:25:41 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2020-03-26 22:56:33 -0400
commite89860f196fca353d1b93c95b6a5b4fd88178d3b (patch)
tree91f81bd380768d56737862ed16f29f6a4450cdf3 /drivers/scsi/advansys.c
parentccfa00a86819823a88612728c4b945455066e8c5 (diff)
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 'drivers/scsi/advansys.c')
0 files changed, 0 insertions, 0 deletions