From 52a49306d7d19ef127e6d6f4fd92f84d4864296f Mon Sep 17 00:00:00 2001 From: Andrew Bresticker Date: Thu, 30 Oct 2014 13:01:07 -0700 Subject: [PATCH] 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 Reviewed-by: Thierry Reding Signed-off-by: Jassi Brar --- Reading git-format-patch failed