diff options
-rw-r--r-- | drivers/scsi/ufs/ufshcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index aba461f0f11c..b743bd6fce6b 100644 --- a/drivers/scsi/ufs/ufshcd.c +++ b/drivers/scsi/ufs/ufshcd.c | |||
@@ -1318,7 +1318,7 @@ static void ufshcd_err_handler(struct ufs_hba *hba) | |||
1318 | goto fatal_eh; | 1318 | goto fatal_eh; |
1319 | 1319 | ||
1320 | if (hba->errors & UIC_ERROR) { | 1320 | if (hba->errors & UIC_ERROR) { |
1321 | reg = ufshcd_readl(hba, REG_UIC_ERROR_CODE_PHY_ADAPTER_LAYER); | 1321 | reg = ufshcd_readl(hba, REG_UIC_ERROR_CODE_DATA_LINK_LAYER); |
1322 | if (reg & UIC_DATA_LINK_LAYER_ERROR_PA_INIT) | 1322 | if (reg & UIC_DATA_LINK_LAYER_ERROR_PA_INIT) |
1323 | goto fatal_eh; | 1323 | goto fatal_eh; |
1324 | } | 1324 | } |