soc: apple: rtkit: Add apple_rtkit_poll
authorHector Martin <marcan@marcan.st>
Wed, 14 Sep 2022 08:34:31 +0000 (09:34 +0100)
committerArnd Bergmann <arnd@arndb.de>
Sat, 17 Sep 2022 17:53:29 +0000 (19:53 +0200)
commitf5a5e83379b537f6252526bb4d285b771f6f0b89
treee77a4a4e75c28e77ce5134eaaf6ea78b59165148
parent387969b7ab014ca71582473a4950fa711efe204b
soc: apple: rtkit: Add apple_rtkit_poll

This allows a client to receive messages in atomic context, by polling.

Signed-off-by: Hector Martin <marcan@marcan.st>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Sven Peter <sven@svenpeter.dev>
Reviewed-by: Eric Curtin <ecurtin@redhat.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/soc/apple/rtkit.c
include/linux/soc/apple/rtkit.h