commit | b68814fb646f2c7e60fff8b2882b67c69641f3c4 | [log] [tgz] |
---|---|---|
author | Lina Iyer <ilina@codeaurora.org> | Fri Apr 14 12:49:07 2017 -0600 |
committer | Lina Iyer <ilina@codeaurora.org> | Sat Apr 15 12:27:36 2017 -0600 |
tree | 8b207f25105d643003ad2f18ae5f17438e82aba0 | |
parent | 68e85fd72a3e4f1da02e2dbea28cd1367d44c070 [diff] |
drivers: mailbox: qti-tcs: mark TCS busy until an IRQ response A TCS may be marked idle as soon as the request is sent from the TCS even though the response interrupt is pending. This may lead to overwriting existing TCS requests even before the request is done. Use an atomic variable to mark the TCS as busy until the interrupt is received for the request. Change-Id: I3d313fd18f5de620a0aa1daa366959a3fa396ddc Signed-off-by: Lina Iyer <ilina@codeaurora.org>