diff options
author | Yaniv Gardi <ygardi@codeaurora.org> | 2016-02-01 15:02:43 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-02-23 21:27:02 -0500 |
commit | 64238fbd15ea58fc9e33a4fa35a9ee8a96d064f4 (patch) | |
tree | 6a3c71d7eb4e77fedcafc2e4cf658d25e75a1c7e /fs/devpts | |
parent | f05ac2e5930506c980817a59a47f903e25f91429 (diff) | |
download | linux-64238fbd15ea58fc9e33a4fa35a9ee8a96d064f4.tar.bz2 |
scsi: ufs: add retries to dme_peer get and set attribute
The dme_peer get/set attribute commands are prone to errors, therefore
we add three retries for the UIC command sending. Error code returned
from ufshcd_send_uic_cmd() is checked, and unless it was successful or
the retries have finished, another command will be sent.
Reviewed-by: Gilad Broner <gbroner@codeaurora.org>
Reviewed-by: Dolev Raviv <draviv@codeaurora.org>
Signed-off-by: Lee Susman <lsusman@codeaurora.org>
Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'fs/devpts')
0 files changed, 0 insertions, 0 deletions