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

Commit 3ba06afa authored by Monika Singh's avatar Monika Singh
Browse files

firmware: qcom: tzbsp_diag info not required for qsee_log



In case of Qsee_log we are not using the tzbsp_diag_buf
so there is no need to copy that.

Change-Id: Iabffd1708507e16ef8d75102637fd45bb7182549
Signed-off-by: default avatarMonika Singh <monising@codeaurora.org>
parent 33569a19
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1089,8 +1089,7 @@ static ssize_t tzdbgfs_read_unencrypted(struct file *file, char __user *buf,

	if (tz_id == TZDBG_BOOT || tz_id == TZDBG_RESET ||
		tz_id == TZDBG_INTERRUPT || tz_id == TZDBG_GENERAL ||
		tz_id == TZDBG_VMID || tz_id == TZDBG_LOG ||
		tz_id == TZDBG_QSEE_LOG)
		tz_id == TZDBG_VMID || tz_id == TZDBG_LOG)
		memcpy_fromio((void *)tzdbg.diag_buf, tzdbg.virt_iobase,
						debug_rw_buf_size);