diff options
-rw-r--r-- | drivers/scsi/ufs/ufshcd.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index 1f1e08518555..2e0248302e8d 100644 --- a/drivers/scsi/ufs/ufshcd.c +++ b/drivers/scsi/ufs/ufshcd.c | |||
@@ -1324,11 +1324,8 @@ static irqreturn_t ufshcd_intr(int irq, void *__hba) | |||
1324 | intr_status = ufshcd_readl(hba, REG_INTERRUPT_STATUS); | 1324 | intr_status = ufshcd_readl(hba, REG_INTERRUPT_STATUS); |
1325 | 1325 | ||
1326 | if (intr_status) { | 1326 | if (intr_status) { |
1327 | ufshcd_writel(hba, intr_status, REG_INTERRUPT_STATUS); | ||
1327 | ufshcd_sl_intr(hba, intr_status); | 1328 | ufshcd_sl_intr(hba, intr_status); |
1328 | |||
1329 | /* If UFSHCI 1.0 then clear interrupt status register */ | ||
1330 | if (hba->ufs_version == UFSHCI_VERSION_10) | ||
1331 | ufshcd_writel(hba, intr_status, REG_INTERRUPT_STATUS); | ||
1332 | retval = IRQ_HANDLED; | 1329 | retval = IRQ_HANDLED; |
1333 | } | 1330 | } |
1334 | spin_unlock(hba->host->host_lock); | 1331 | spin_unlock(hba->host->host_lock); |