Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f3e57308 authored by Soeren Moch's avatar Soeren Moch Committed by Greg Kroah-Hartman
Browse files

rtc: ds1307: fix ds1339 wakealarm support



commit 7dceef78f310f5351735060d78a1777c69606016 upstream.

Commit 51ed73eb ("rtc: ds1340: Add support
for trickle charger.") breaks ds1339 wakealarm support by limiting
accessible registers. Fix this.

Fixes: 51ed73eb ("rtc: ds1340: Add support for trickle charger.")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarSoeren Moch <smoch@web.de>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7d9f3a26
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1384,7 +1384,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,