drivers: mailbox: qti-tcs: Optimize looping

When looping over a unsigned int that represents a bit mask, reduce the
number of iterations, by looping only through the relevant value. This
would avoid a possible out of bound access.

Change-Id: I42cfe85353d57ddcaeea42fdc56b0ac7a102b505
Signed-off-by: Lina Iyer <ilina@codeaurora.org>
1 file changed