Thread (8 messages) 8 messages, 2 authors, 2021-08-04

Re: [PATCH 2/4] rtc: s5m: signal the core when alarm are not available

From: Krzysztof Kozlowski <hidden>
Date: 2021-08-04 11:48:18
Also in: linux-samsung-soc, lkml

On 04/08/2021 12:41, Alexandre Belloni wrote:
Clear the RTC_FEATURE_ALARM bit to signal to the core when alarms are not
available to ensure the alarm callbacks are never called and userspace is
aware alarms are not supported.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
---
 drivers/rtc/rtc-s5m.c | 27 +++++++++++----------------
 1 file changed, 11 insertions(+), 16 deletions(-)

Reviewed-by: Krzysztof Kozlowski <redacted>


Best regards,
Krzysztof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help