summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSubhash Jadavani <subhashj@codeaurora.org>2014-09-24 17:11:50 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 10:57:30 -0700
commit878c98c00524aa87f739417daa6f62eba770da1e (patch)
treee519ff01e5079480bbd0ea920e6c88be98d31cbf /include
parent9d89b6c4c80db9b7d62f40e5cca9b8730c828ada (diff)
scsi: ufs: fix failure to read the string descriptor
While reading variable size descriptors (like string descriptor), some UFS devices may report the "LENGTH" (field in "Transaction Specific fields" of Query Response UPIU) same as what was requested in Query Request UPIU instead of reporting the actual size of the variable size descriptor. Although it's safe to ignore the "LENGTH" field for variable size descriptors as we can always derive the length of the descriptor from the descriptor header fields. Hence this change impose the length match check only for fixed size descriptors (for which we always request the correct size as part of Query Request UPIU). Change-Id: I6be74b3e139b876275c265524cb6ee8489f3737c Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions