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.
Change-Id: I63727228079cde897b4ed22ce0e87a8ca4814871
Signed-off-by:
Lee Susman <lsusman@codeaurora.org>
Loading
Please register or sign in to comment