diff options
author | Sudeep Holla <sudeep.holla@arm.com> | 2015-07-22 13:28:51 +0100 |
---|---|---|
committer | Jon Medhurst <tixy@linaro.org> | 2015-10-19 13:03:04 +0100 |
commit | 89f60431311549069433e04e0b56b46feb46dc62 (patch) | |
tree | 77d6f0bfb1a80d08cb8d83d92aa0c6e614e802bb | |
parent | 13564fb05e03a8c5202c02cf23d602eaddfcee00 (diff) |
mailbox: arm_mhu: reduce txpoll_period from 10ms to 1 ms
Since the mailbox core users hrtimers now, it can handle much higher
resolutions. We can reduce the txpoll_period to 1 ms as the transmit
usually takes just few microseconds.
Reported-and-suggested-by: Juri Lelli <Juri.Lelli@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
(cherry picked from commit 86e488adaab77a733b01e759bf7bfda054479660)
Signed-off-by: Jon Medhurst <tixy@linaro.org>
-rw-r--r-- | drivers/mailbox/arm_mhu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mailbox/arm_mhu.c b/drivers/mailbox/arm_mhu.c index ac693c635357..b3e014df483c 100644 --- a/drivers/mailbox/arm_mhu.c +++ b/drivers/mailbox/arm_mhu.c @@ -148,7 +148,7 @@ static int mhu_probe(struct amba_device *adev, const struct amba_id *id) mhu->mbox.ops = &mhu_ops; mhu->mbox.txdone_irq = false; mhu->mbox.txdone_poll = true; - mhu->mbox.txpoll_period = 10; + mhu->mbox.txpoll_period = 1; amba_set_drvdata(adev, mhu); |