android_kernel_motorola_sm6375/drivers/mailbox
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sudeep Holla baef9a35d2 mailbox: mailbox-test: add support for fasync/poll
Currently the read operation on the message debug file returns error if
there's no data ready to be read. It expects the userspace to retry if
it fails. Since the mailbox response could be asynchronous, it would be
good to add support to block the read until the data is available.

We can also implement poll file operations so that the userspace can
wait to become ready to perform any I/O.

This patch implements the poll and fasync file operation callback for
the test mailbox device.

Cc: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
2016-12-19 20:10:23 +05:30
..
arm_mhu.c
bcm-pdc-mailbox.c mailbox: bcm-pdc: Remove unnecessary void* casts 2016-12-19 20:10:23 +05:30
bcm2835-mailbox.c
hi6220-mailbox.c
Kconfig mailbox: Add Platform Message-Handling-Unit variant driver 2016-09-07 13:07:17 +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 mailbox: mailbox-test: add support for fasync/poll 2016-12-19 20:10:23 +05:30
mailbox-xgene-slimpro.c
mailbox.c
mailbox.h
Makefile mailbox: Add Platform Message-Handling-Unit variant driver 2016-09-07 13:07:17 +05:30
omap-mailbox.c
pcc.c mailbox: PCC: Fix lockdep warning when request PCC channel 2016-11-14 22:07:38 +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
ti-msgmgr.c