projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
302c560
)
rtc: rx8025: unsupport UIE mode
author
Akinobu Mita
<
[email protected]
>
Mon, 15 Feb 2016 14:49:09 +0000
(23:49 +0900)
committer
Alexandre Belloni
<
[email protected]
>
Mon, 14 Mar 2016 16:08:20 +0000
(17:08 +0100)
The alarm for rx8025 only has a minute accuracy, so unsupport UIE mode.
pcf8563 and hym8563 also have a minute accuracy and unsupport it.
Signed-off-by: Akinobu Mita <
[email protected]
>
Cc: Wolfgang Grandegger <
[email protected]
>
Cc: Alessandro Zummo <
[email protected]
>
Cc: Alexandre Belloni <
[email protected]
>
Signed-off-by: Alexandre Belloni <
[email protected]
>
drivers/rtc/rtc-rx8025.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-rx8025.c
b/drivers/rtc/rtc-rx8025.c
index e117a8f6d025e259fe1e515fdb1daa190d90717c..b69647e0be235bd5de1356de7c00d05485a39f5b 100644
(file)
--- a/
drivers/rtc/rtc-rx8025.c
+++ b/
drivers/rtc/rtc-rx8025.c
@@
-563,6
+563,9
@@
static int rx8025_probe(struct i2c_client *client,
rx8025->rtc->max_user_freq = 1;
+ /* the rx8025 alarm only supports a minute accuracy */
+ rx8025->rtc->uie_unsupported = 1;
+
err = rx8025_sysfs_register(&client->dev);
return err;
}