Skip to content

Commit

Permalink
mailbox: arm_mhu: reduce txpoll_period from 10ms to 1 ms
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sudeep Holla authored and Jassi Brar committed Aug 10, 2015
1 parent 0cc6794 commit 86e488a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mailbox/arm_mhu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 86e488a

Please sign in to comment.