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

Commit d4f60127 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 e012b06e e20bcac0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -813,7 +813,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) {