Commit 86e488ad authored by Sudeep Holla's avatar Sudeep Holla Committed by Jassi Brar

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: default avatarJuri Lelli <Juri.Lelli@arm.com>
Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
parent 0cc67945
...@@ -148,7 +148,7 @@ static int mhu_probe(struct amba_device *adev, const struct amba_id *id) ...@@ -148,7 +148,7 @@ static int mhu_probe(struct amba_device *adev, const struct amba_id *id)
mhu->mbox.ops = &mhu_ops; mhu->mbox.ops = &mhu_ops;
mhu->mbox.txdone_irq = false; mhu->mbox.txdone_irq = false;
mhu->mbox.txdone_poll = true; mhu->mbox.txdone_poll = true;
mhu->mbox.txpoll_period = 10; mhu->mbox.txpoll_period = 1;
amba_set_drvdata(adev, mhu); amba_set_drvdata(adev, mhu);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment