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

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

Merge "drivers: mailbox: qti_tcs: fix incorrect check for TCS slot" into msm-4.9

parents 7b5b08d2 78aeb458
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -604,7 +604,7 @@ static int find_free_tcs(struct tcs_mbox *tcs)
			slot = m * tcs->ncpt;
			break;
		}
		if (++m > tcs->num_tcs)
		if (++m >= tcs->num_tcs)
			m = 0;
		cpu_relax();
	} while (1);