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>
1 file changed