aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorYaniv Gardi <[email protected]>2016-02-01 15:02:38 +0200
committerMartin K. Petersen <[email protected]>2016-02-23 21:27:02 -0500
commit51047266f7a8f513418a387474be47a3ff2c1718 (patch)
treea2fcbd6843464c94d171ca103846dfc27327309a /drivers/fpga/fpga-mgr.c
parent52ac95fe06edd660a6414fd6aa3165c3437ac4be (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. Reviewed-by: Gilad Broner <[email protected]> Reviewed-by: Dolev Raviv <[email protected]> Signed-off-by: Subhash Jadavani <[email protected]> Signed-off-by: Yaniv Gardi <[email protected]> Tested-by: Tomas Winkler <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions