Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5cbc71cc authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "scsi: ufs: fix ufshcd command trace command ID"

parents 29802615 ed029338
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -823,7 +823,8 @@ static inline void ufshcd_cond_add_cmd_trace(struct ufs_hba *hba,
		}
	}

	if (lrbp->cmd && (lrbp->command_type == UTP_CMD_TYPE_SCSI)) {
	if (lrbp->cmd && ((lrbp->command_type == UTP_CMD_TYPE_SCSI) ||
			  (lrbp->command_type == UTP_CMD_TYPE_UFS_STORAGE))) {
		cmd_type = "scsi";
		cmd_id = (u8)(*lrbp->cmd->cmnd);
	} else if (lrbp->command_type == UTP_CMD_TYPE_DEV_MANAGE) {