Commit f065aca2 authored by Caleb Connolly's avatar Caleb Connolly Committed by Martin K. Petersen
Browse files

scsi: ufs: qcom: Use ufshci_version() function

parent 51428818
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -809,9 +809,9 @@ static u32 ufs_qcom_get_ufs_hci_version(struct ufs_hba *hba)
	struct ufs_qcom_host *host = ufshcd_get_variant(hba);

	if (host->hw_ver.major == 0x1)
		return UFSHCI_VERSION_11;
		return ufshci_version(1, 1);
	else
		return UFSHCI_VERSION_20;
		return ufshci_version(2, 0);
}

/**