linux-stable/drivers/mailbox
Sudeep Holla cb710ab1d8 mailbox: handle empty message in tx_tick
We already check if the message is empty before calling the client
tx_done callback. Calling completion on a wait event is also invalid
if the message is empty.

This patch moves the existing empty message check earlier.

Fixes: 2b6d83e2b8 ("mailbox: Introduce framework for mailbox")
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
2017-04-27 16:20:04 +05:30
..
arm_mhu.c Merge branch 'mailbox-for-next' of git://git.linaro.org/landing-teams/working/fujitsu/integration 2015-09-05 18:11:04 -07:00
bcm-flexrm-mailbox.c mailbox: Add driver for Broadcom FlexRM ring manager 2017-03-28 23:33:30 +05:30
bcm-pdc-mailbox.c mailbox: bcm-pdc: Add Northstar Plus support to PDC driver 2017-03-28 23:27:56 +05:30
bcm2835-mailbox.c
hi6220-mailbox.c mailbox: constify mbox_chan_ops structures 2017-03-28 23:27:32 +05:30
Kconfig mailbox: Remove depends on COMPILE_TEST for BCM_FLEXRM_MBOX 2017-03-29 11:08:30 +05:30
mailbox-altera.c
mailbox-sti.c mailbox: sti: Fix module autoload for OF registration 2016-12-19 20:10:18 +05:30
mailbox-test.c sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
mailbox-xgene-slimpro.c mailbox: constify mbox_chan_ops structures 2017-03-28 23:27:32 +05:30
mailbox.c mailbox: handle empty message in tx_tick 2017-04-27 16:20:04 +05:30
mailbox.h
Makefile mailbox: Add driver for Broadcom FlexRM ring manager 2017-03-28 23:33:30 +05:30
omap-mailbox.c mailbox/omap: kill omap_mbox_{save/restore}_ctx() functions 2016-04-26 10:19:38 +05:30
pcc.c Merge branches 'acpica' and 'acpi-scan' 2016-12-22 14:34:24 +01:00
pl320-ipc.c mailbox: pl320: remove __raw IO 2016-06-24 13:32:31 +05:30
platform_mhu.c mailbox: Add Platform Message-Handling-Unit variant driver 2016-09-07 13:07:17 +05:30
rockchip-mailbox.c mailbox: rockchip: avoid 64-bit division 2016-03-16 09:18:15 +05:30
tegra-hsp.c mailbox: tegra-hsp: Use after free in tegra_hsp_remove_doorbells() 2016-11-18 14:32:13 +01:00
ti-msgmgr.c mailbox: Introduce TI message manager driver 2016-03-21 20:33:15 +05:30