remarkable-linux/drivers/mailbox
Andrew Bresticker 52a49306d7 mailbox: Don't unnecessarily re-arm the polling timer
poll_txdone() will unconditionally re-arm the polling timer if there was
an active request, even if the active request completed and no other
requests were submitted.  This is fixed by:
 - only re-arming the timer if the controller reported that the current
   transmission has not completed, and,
 - moving the call to poll_txdone() into msg_submit() so that the
   controller gets polled (and the timer re-armed, if necessary) whenever
   a new message is submitted.

Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
2014-11-27 12:21:27 +05:30
..
Kconfig mailbox/omap: consolidate OMAP mailbox driver 2014-07-29 01:57:25 -07:00
mailbox.c mailbox: Don't unnecessarily re-arm the polling timer 2014-11-27 12:21:27 +05:30
Makefile mailbox: Introduce framework for mailbox 2014-10-08 10:39:41 +05:30
omap-mailbox.c mailbox/omap: add support for parsing dt devices 2014-09-11 11:39:14 -07:00
pl320-ipc.c mailbox: rename pl320-ipc specific mailbox.h 2014-10-08 10:39:33 +05:30