aboutsummaryrefslogtreecommitdiff
path: root/drivers/mailbox/mailbox.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2014-11-22 11:07:41 +0000
committerMark Brown <broonie@kernel.org>2014-11-22 11:07:41 +0000
commit38dce4af8de2655716b67600a552eded6407ea2f (patch)
treef40d42e46a1e7723c8654af83e59c55363e8d318 /drivers/mailbox/mailbox.c
parent5d0676ad297dc9ac5f8a39070ddfb2245d3c7301 (diff)
parent50881c752b92d9750ea0e3c49a504d9fe732e999 (diff)
Merge branch 'linux-linaro-lsk' into linux-linaro-lsk-androidlsk-v3.10-android-14.11
Diffstat (limited to 'drivers/mailbox/mailbox.c')
-rw-r--r--drivers/mailbox/mailbox.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mailbox/mailbox.c b/drivers/mailbox/mailbox.c
index 9a937ef35068..afcb430508ec 100644
--- a/drivers/mailbox/mailbox.c
+++ b/drivers/mailbox/mailbox.c
@@ -126,7 +126,7 @@ static void poll_txdone(unsigned long data)
if (resched)
mod_timer(&mbox->poll, jiffies +
- msecs_to_jiffies(mbox->period));
+ msecs_to_jiffies(mbox->txpoll_period));
}
/**
@@ -252,8 +252,6 @@ int mbox_send_message(struct mbox_chan *chan, void *mssg)
msg_submit(chan);
- INIT_COMPLETION(chan->tx_complete);
-
if (chan->txdone_method == TXDONE_BY_POLL)
poll_txdone((unsigned long)chan->mbox);