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:
6f5b390
)
rtc: ds1307: fix ds1339 wakealarm support
author
Soeren Moch
<
[email protected]
>
Mon, 22 Oct 2018 12:38:12 +0000
(14:38 +0200)
committer
Alexandre Belloni
<
[email protected]
>
Mon, 22 Oct 2018 15:53:14 +0000
(17:53 +0200)
Commit
51ed73eb998a1c79a2b0e9bed68f75a8a2c93b9b
("rtc: ds1340: Add support
for trickle charger.") breaks ds1339 wakealarm support by limiting
accessible registers. Fix this.
Fixes: 51ed73eb998a ("rtc: ds1340: Add support for trickle charger.")
Cc:
[email protected]
Signed-off-by: Soeren Moch <
[email protected]
>
Signed-off-by: Alexandre Belloni <
[email protected]
>
drivers/rtc/rtc-ds1307.c
patch
|
blob
|
history
diff --git
a/drivers/rtc/rtc-ds1307.c
b/drivers/rtc/rtc-ds1307.c
index 982503a168d0d05b0ffb4aae752c377b4754c5b6..74b31dce484feebb4288050557217289500c0006 100644
(file)
--- a/
drivers/rtc/rtc-ds1307.c
+++ b/
drivers/rtc/rtc-ds1307.c
@@
-1524,7
+1524,6
@@
static void ds1307_clks_register(struct ds1307 *ds1307)
static const struct regmap_config regmap_config = {
.reg_bits = 8,
.val_bits = 8,
- .max_register = 0x9,
};
static int ds1307_probe(struct i2c_client *client,