]> asedeno.scripts.mit.edu Git - linux.git/commit
rtc: da9063: set uie_unsupported when relevant
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 2 Apr 2019 10:26:36 +0000 (12:26 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 2 Apr 2019 21:33:09 +0000 (23:33 +0200)
commit882c5e552ffd06856de42261460f46e18319d259
treea74b42eb5d5f9739287027fd33a5aa34d800b1b5
parent22e7d5148d9a0b2e5bd20913f55cce89b58cd990
rtc: da9063: set uie_unsupported when relevant

The DA9063AD doesn't support alarms on any seconds and its granularity is
the minute. Set uie_unsupported in that case.

Reported-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reported-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Steve Twiss <stwiss.opensource@diasemi.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-da9063.c