Skip to content

Commit

Permalink
rtc: ds1307: fix ds1339 wakealarm support
Browse files Browse the repository at this point in the history
Commit 51ed73e ("rtc: ds1340: Add support
for trickle charger.") breaks ds1339 wakealarm support by limiting
accessible registers. Fix this.

Fixes: 51ed73e ("rtc: ds1340: Add support for trickle charger.")
Cc: stable@vger.kernel.org
Signed-off-by: Soeren Moch <smoch@web.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
  • Loading branch information
Soeren Moch authored and Alexandre Belloni committed Oct 22, 2018
1 parent 6f5b390 commit 7dceef7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/rtc/rtc-ds1307.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7dceef7

Please sign in to comment.