Loading drivers/scsi/ufs/ufshcd.c +2 −0 Original line number Diff line number Diff line Loading @@ -2420,6 +2420,7 @@ static int ufshcd_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *cmd) err = ufshcd_send_command(hba, tag); if (err) { spin_unlock_irqrestore(hba->host->host_lock, flags); scsi_dma_unmap(lrbp->cmd); lrbp->cmd = NULL; clear_bit_unlock(tag, &hba->lrb_in_use); Loading @@ -2427,6 +2428,7 @@ static int ufshcd_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *cmd) dev_err(hba->dev, "%s: failed sending command, %d\n", __func__, err); err = DID_ERROR; goto out; } out_unlock: Loading Loading
drivers/scsi/ufs/ufshcd.c +2 −0 Original line number Diff line number Diff line Loading @@ -2420,6 +2420,7 @@ static int ufshcd_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *cmd) err = ufshcd_send_command(hba, tag); if (err) { spin_unlock_irqrestore(hba->host->host_lock, flags); scsi_dma_unmap(lrbp->cmd); lrbp->cmd = NULL; clear_bit_unlock(tag, &hba->lrb_in_use); Loading @@ -2427,6 +2428,7 @@ static int ufshcd_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *cmd) dev_err(hba->dev, "%s: failed sending command, %d\n", __func__, err); err = DID_ERROR; goto out; } out_unlock: Loading