android_kernel_oneplus_msm8998/drivers/mailbox
Sudeep Holla 63c9c49c04 mailbox: handle empty message in tx_tick
commit cb710ab1d8a23f68ff8f45aedf3e552bb90e70de upstream.

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>
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-08-06 19:19:41 -07:00
..
arm_mhu.c
bcm2835-mailbox.c
Kconfig
mailbox-altera.c
mailbox-sti.c
mailbox-test.c
mailbox.c mailbox: handle empty message in tx_tick 2017-08-06 19:19:41 -07:00
mailbox.h
Makefile
omap-mailbox.c
pcc.c
pl320-ipc.c