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

Commit 75fa0c77 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-qcom: update delay between assert/deassert in full reset"

parents 1daf08d1 6a714c1b
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -791,8 +791,12 @@ static int ufs_qcom_full_reset(struct ufs_hba *hba)
		goto out;
	}

	/* Very small delay, per the documented requirement */
	usleep_range(1, 2);
	/*
	 * The hardware requirement for delay between assert/deassert
	 * is at least 3-4 sleep clock (32.7KHz) cycles, which comes to
	 * ~125us (4/32768). To be on the safe side add 200us delay.
	 */
	usleep_range(200, 210);

	ret = reset_control_deassert(hba->core_reset);
	if (ret)