commit | cb710ab1d8a23f68ff8f45aedf3e552bb90e70de | [log] [tgz] |
---|---|---|
author | Sudeep Holla <sudeep.holla@arm.com> | Tue Mar 21 11:30:16 2017 +0000 |
committer | Jassi Brar <jaswinder.singh@linaro.org> | Thu Apr 27 16:20:04 2017 +0530 |
tree | 59a9d521b0b01091fa77aa994f6c200a693250e9 | |
parent | cc6eeaa3029a6dbcb4ad41b1f92876483bd88965 [diff] |
mailbox: handle empty message in tx_tick We already check if the message is empty before calling the client tx_done callback. Calling completion on a wait event is also invalid if the message is empty. This patch moves the existing empty message check earlier. Fixes: 2b6d83e2b8b7 ("mailbox: Introduce framework for mailbox") Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>