[PATCH 3/4] rtc: pl031: avoid exposing alarm if no interrupt

Linus Walleij linus.walleij at linaro.org
Wed Aug 2 05:32:38 PDT 2017


On Fri, Jul 21, 2017 at 1:18 AM, Russell King
<rmk+kernel at armlinux.org.uk> wrote:

> If the RTC has no interrupt, there is little point in exposing the RTC
> alarm capabilities, as it can't be used as a wakeup source nor can it
> deliver an event to userspace.
>
> Signed-off-by: Russell King <rmk+kernel at armlinux.org.uk>

This makes all kind of sense.
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list