summaryrefslogtreecommitdiffstats
path: root/drivers/mailbox/Kconfig
diff options
context:
space:
mode:
authorAlexey Klimov <alexey.klimov@arm.com>2017-03-21 17:57:34 +0100
committerJassi Brar <jaswinder.singh@linaro.org>2017-03-28 20:22:02 +0200
commit4605fff00b886657835a58ef3cf2377356029e55 (patch)
treef98454c954b19a104dff9c87dacac3e35711c0f2 /drivers/mailbox/Kconfig
parentdt-bindings: Add DT bindings info for FlexRM ring manager (diff)
downloadlinux-4605fff00b886657835a58ef3cf2377356029e55.tar.xz
linux-4605fff00b886657835a58ef3cf2377356029e55.zip
mailbox: check ->last_tx_done for NULL in case of timer-based polling
It is allowed by code to register mailbox controller that sets txdone_poll flag to request timer-based polling with missed ->last_tx_done() method. If such thing happens and since presence of last_tx_done() is not checked it will fail in hrtimer callback function txdone_hrtimer() when first message will be transmitted. This patch adds check for this method and logging of error on registration of mailbox controller if it requested timer-based polling. Signed-off-by: Alexey Klimov <alexey.klimov@arm.com> Acked-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'drivers/mailbox/Kconfig')
0 files changed, 0 insertions, 0 deletions