diff options
| author | Subhash Jadavani <subhashj@codeaurora.org> | 2014-11-01 23:13:58 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 10:57:52 -0700 |
| commit | 134fbea94bfc598f838e4a842ee77b2d5522fb8a (patch) | |
| tree | 07df32091d78205228aff0b27ede168f168d3ba2 /include/linux | |
| parent | 81be6139256b7eadcf5b444a4db56e85b8a0042f (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
