summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSubhash Jadavani <subhashj@codeaurora.org>2014-11-01 23:13:58 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 10:57:52 -0700
commit134fbea94bfc598f838e4a842ee77b2d5522fb8a (patch)
tree07df32091d78205228aff0b27ede168f168d3ba2 /include/linux
parent81be6139256b7eadcf5b444a4db56e85b8a0042f (diff)
scsi: ufs: clear fields UTRD, UPIU req and rsp before new transfers
Some of the data structures (like response UPIU) and/or its elements (unused fields) should be cleared before sending out the respective command to UFS device. This change clears the UPIU response data structure for query commands and NOP command before sending out the command. We also initialize the PRDT table length to zero which should take care of commands which doesn't have any data associated with it. We are also clearing the unused fields in request UPIU for NOP command. Change-Id: Iac02618cd5e9d97883652e134c5365884f3d0b44 Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions