summaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorAndrew Bresticker <abrestic@chromium.org>2014-10-30 21:01:07 +0100
committerJassi Brar <jaswinder.singh@linaro.org>2014-11-27 07:51:27 +0100
commit52a49306d7d19ef127e6d6f4fd92f84d4864296f (patch)
tree9e6608b633caf55d6552b124654af4a16cb79d6f /drivers/crypto
parentLinux 3.18-rc3 (diff)
downloadlinux-52a49306d7d19ef127e6d6f4fd92f84d4864296f.tar.xz
linux-52a49306d7d19ef127e6d6f4fd92f84d4864296f.zip
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>
Diffstat (limited to 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions