Loading drivers/scsi/ufs/ufshcd.c +2 −1 Original line number Original line Diff line number Diff line Loading @@ -5333,7 +5333,8 @@ int ufshcd_uic_hibern8_enter(struct ufs_hba *hba) ret = __ufshcd_uic_hibern8_enter(hba); ret = __ufshcd_uic_hibern8_enter(hba); if (!ret) if (!ret) goto out; goto out; else if (ret != -EAGAIN) else if (ret != -EAGAIN && !(hba->extcon && ufshcd_is_card_offline(hba))) /* Unable to recover the link, so no point proceeding */ /* Unable to recover the link, so no point proceeding */ BUG_ON(1); BUG_ON(1); } } Loading Loading
drivers/scsi/ufs/ufshcd.c +2 −1 Original line number Original line Diff line number Diff line Loading @@ -5333,7 +5333,8 @@ int ufshcd_uic_hibern8_enter(struct ufs_hba *hba) ret = __ufshcd_uic_hibern8_enter(hba); ret = __ufshcd_uic_hibern8_enter(hba); if (!ret) if (!ret) goto out; goto out; else if (ret != -EAGAIN) else if (ret != -EAGAIN && !(hba->extcon && ufshcd_is_card_offline(hba))) /* Unable to recover the link, so no point proceeding */ /* Unable to recover the link, so no point proceeding */ BUG_ON(1); BUG_ON(1); } } Loading