]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: handle errors from PHY_ADAPTER_ERROR register
authorDolev Raviv <draviv@codeaurora.org>
Thu, 24 Nov 2016 00:32:32 +0000 (16:32 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 29 Nov 2016 17:06:56 +0000 (12:06 -0500)
commited5e4fe1fa121b00795d823e3bd91c9f701a9cf6
tree95d1686959d5d24c03fdd766207be705463c5616
parentcb9f97ce96a0bde54d205a9b8777c44ba1ce0646
scsi: ufs: handle errors from PHY_ADAPTER_ERROR register

The PHY_ADAPTER_ERROR status register indicates PHY lane errors
reported by the M-PHY layer. In some occasions the controller
can recover from such errors. When the error is not recoverable,
a stuck DB error will occur. Since the stuck DB error is spotted
separately, no action other than clearing the register is necessary.

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
drivers/scsi/ufs/ufshci.h