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

Commit f7326407 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "scsi: ufs-msm: probe UFS only if it is the boot device"

parents cd06e9b3 9532a955
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1022,6 +1022,9 @@ static int ufs_msm_init(struct ufs_hba *hba)
	struct device *dev = hba->dev;
	struct ufs_msm_host *host;

	if (strlen(android_boot_dev) && strcmp(android_boot_dev, dev_name(dev)))
		return -ENODEV;

	host = devm_kzalloc(dev, sizeof(*host), GFP_KERNEL);
	if (!host) {
		err = -ENOMEM;