remarkable-linux/drivers/mailbox
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 Merge branch 'mailbox-for-next' of git://git.linaro.org/landing-teams/working/fujitsu/integration 2015-09-05 18:11:04 -07:00
bcm-pdc-mailbox.c mailbox: bcm-pdc: Remove unnecessary void* casts 2016-12-19 20:10:23 +05:30
bcm2835-mailbox.c mailbox: Drop owner assignment from platform_driver 2015-08-05 17:20:53 +05:30
hi6220-mailbox.c mailbox: Hi6220: add mailbox driver 2016-03-04 12:32:20 +05:30
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: xgene-slimpro: Fix wrong test for devm_kzalloc 2016-04-08 09:30:11 +05:30
mailbox.c mailbox: Stop using ENOSYS for anything other than unimplemented syscalls 2016-04-12 13:28:32 +05:30
mailbox.h
Makefile mailbox: Add Platform Message-Handling-Unit variant driver 2016-09-07 13:07:17 +05:30
omap-mailbox.c mailbox/omap: kill omap_mbox_{save/restore}_ctx() functions 2016-04-26 10:19:38 +05:30
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 mailbox: rockchip: avoid 64-bit division 2016-03-16 09:18:15 +05:30
ti-msgmgr.c mailbox: Introduce TI message manager driver 2016-03-21 20:33:15 +05:30