Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Sudeep Holla and committed by
Jassi Brar
86e488ad 0cc67945

+1 -1
+1 -1
drivers/mailbox/arm_mhu.c
··· 148 148 mhu->mbox.ops = &mhu_ops; 149 149 mhu->mbox.txdone_irq = false; 150 150 mhu->mbox.txdone_poll = true; 151 - mhu->mbox.txpoll_period = 10; 151 + mhu->mbox.txpoll_period = 1; 152 152 153 153 amba_set_drvdata(adev, mhu); 154 154