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

Commit cb90b9b0 authored by Yaniv Gardi's avatar Yaniv Gardi Committed by David Keitel
Browse files

scsi: ufs-qcom: fix check of select_major instead of select_minor



This change fixes a bug where we check the select_minor value
instead of checking the select_major value.

Change-Id: I852944215a0be484449b578be09b46095fb01931
Signed-off-by: default avatarYaniv Gardi <ygardi@codeaurora.org>
parent b7347dea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2139,7 +2139,7 @@ static bool ufs_qcom_testbus_cfg_is_ok(struct ufs_qcom_host *host)
	 * mappings of select_minor, since there is no harm in
	 * configuring a non-existent select_minor
	 */
	if (host->testbus.select_major > 0x1F) {
	if (host->testbus.select_minor > 0x1F) {
		dev_err(host->hba->dev,
			"%s: 0x%05X is not a legal testbus option\n",
			__func__, host->testbus.select_minor);