scsi: ufs: add queries retry mechanism
authorDolev Raviv <draviv@codeaurora.org>
Thu, 24 Nov 2016 00:30:49 +0000 (16:30 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 29 Nov 2016 17:06:56 +0000 (12:06 -0500)
commit61e073590b82a539654626ecae91b8fab11db3f3
treeb04ccd362df80ac04a1583f68725f6f6ecf155dc
parent021e2927586dafc0a682b7f95d75bd06cc4fb703
scsi: ufs: add queries retry mechanism

Some of the queries might fail during init. To avoid
system failure, we add retry mechanism to issue queries
several times.

Signed-off-by: Dolev Raviv <draviv@codeaurora.org>
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c