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

Commit d224f958 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "scsi: ufshcd-qti: Keep the correct device and link state"

parents ba125366 722dccd8
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -8355,11 +8355,6 @@ static int ufshcd_probe_hba(struct ufs_hba *hba)
	ufshcd_auto_hibern8_enable(hba);

out:
	if (ret) {
		ufshcd_set_ufs_dev_poweroff(hba);
		ufshcd_set_link_off(hba);
	}

	/*
	 * If we failed to initialize the device or the device is not
	 * present, turn off the power/clocks etc.