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

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

Merge "qcom: rpm-smd: Increase wait timeout during sleep set"

parents b765773d f928158a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1130,7 +1130,7 @@ static int msm_rpm_glink_send_buffer(char *buf, uint32_t size, bool noirq)
{
	int ret;
	unsigned long flags;
	int timeout = 50;
	int timeout = 5;

	spin_lock_irqsave(&msm_rpm_data.smd_lock_write, flags);
	do {
@@ -1144,7 +1144,7 @@ static int msm_rpm_glink_send_buffer(char *buf, uint32_t size, bool noirq)
				spin_lock_irqsave(
					&msm_rpm_data.smd_lock_write, flags);
			} else {
				udelay(5);
				udelay(100);
			}
			timeout--;
		} else {