commit | 8471f47f2cddee1b27b666ab15acc6a25a04d513 | [log] [tgz] |
---|---|---|
author | Linux Build Service Account <lnxbuild@localhost> | Mon Apr 17 12:34:59 2017 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Apr 17 12:34:59 2017 -0700 |
tree | 77e61d1767f3815bcbafcd12f4508962a0e38dd7 | |
parent | 7b5b08d28de8a178c92690485f11c00ccc8c7b11 [diff] | |
parent | 78aeb458f1f54cbf2794998979a021733bc5e98a [diff] |
Merge "drivers: mailbox: qti_tcs: fix incorrect check for TCS slot" into msm-4.9
diff --git a/drivers/mailbox/qti-tcs.c b/drivers/mailbox/qti-tcs.c index c70af2b2..0a802fd 100644 --- a/drivers/mailbox/qti-tcs.c +++ b/drivers/mailbox/qti-tcs.c
@@ -604,7 +604,7 @@ slot = m * tcs->ncpt; break; } - if (++m > tcs->num_tcs) + if (++m >= tcs->num_tcs) m = 0; cpu_relax(); } while (1);