mailbox: apple: Implement peek_data() operation
authorHector Martin <marcan@marcan.st>
Tue, 8 Feb 2022 10:16:08 +0000 (19:16 +0900)
committerJens Axboe <axboe@kernel.dk>
Tue, 1 Mar 2022 17:31:57 +0000 (10:31 -0700)
commit257bda894b36dddb9d6c43fa856f6ded84f52ba5
tree3e5d63d901d20418425f2e256639de335595a97f
parent3ba37b52af9def85ab6864a1000ea2c0d3a3905c
mailbox: apple: Implement peek_data() operation

This allows clients running in atomic context to poll for messages to
arrive.

Signed-off-by: Hector Martin <marcan@marcan.st>
drivers/mailbox/apple-mailbox.c