summaryrefslogtreecommitdiffstats
path: root/drivers/mailbox/mailbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mailbox/mailbox.c')
-rw-r--r--drivers/mailbox/mailbox.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/mailbox/mailbox.c b/drivers/mailbox/mailbox.c
index 49e5dadd5733..9dfbf7ea10a2 100644
--- a/drivers/mailbox/mailbox.c
+++ b/drivers/mailbox/mailbox.c
@@ -103,8 +103,11 @@ static void tx_tick(struct mbox_chan *chan, int r)
103 /* Submit next message */ 103 /* Submit next message */
104 msg_submit(chan); 104 msg_submit(chan);
105 105
106 if (!mssg)
107 return;
108
106 /* Notify the client */ 109 /* Notify the client */
107 if (mssg && chan->cl->tx_done) 110 if (chan->cl->tx_done)
108 chan->cl->tx_done(chan->cl, mssg, r); 111 chan->cl->tx_done(chan->cl, mssg, r);
109 112
110 if (r != -ETIME && chan->cl->tx_block) 113 if (r != -ETIME && chan->cl->tx_block)