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

Commit 4575ac02 authored by Asutosh Das's avatar Asutosh Das Committed by Gerrit - the friendly Code Review server
Browse files

scsi: ufs-qcom: dump phy registers on error



Prints phy registers on error.

Change-Id: I3c38c7f9731de9b269f810201cf4df848874bd53
Signed-off-by: default avatarAsutosh Das <asutoshd@codeaurora.org>
parent b38b5109
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2737,6 +2737,7 @@ static void ufs_qcom_print_utp_hci_testbus(struct ufs_hba *hba)
static void ufs_qcom_dump_dbg_regs(struct ufs_hba *hba)
{
	struct ufs_qcom_host *host = ufshcd_get_variant(hba);
	struct phy *phy = host->generic_phy;

	host->err_occurred = true;

@@ -2752,6 +2753,7 @@ static void ufs_qcom_dump_dbg_regs(struct ufs_hba *hba)
	usleep_range(1000, 1100);
	ufs_qcom_print_utp_hci_testbus(hba);
	usleep_range(1000, 1100);
	ufs_qcom_phy_dbg_register_dump(phy);
}

/*