]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
rtc: ds1307: fix ds1339 wakealarm support
authorSoeren Moch <smoch@web.de>
Mon, 22 Oct 2018 12:38:12 +0000 (14:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Nov 2018 19:12:47 +0000 (11:12 -0800)
commite0e51867714987b85fbd3dcc9811f319e109d899
tree39e7aee0fdd2c439eddd7c1684c9e7c0804bc4c5
parent1145e2b587d7af3b0fa631d803380205377698ed
rtc: ds1307: fix ds1339 wakealarm support

commit 7dceef78f310f5351735060d78a1777c69606016 upstream.

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: stable@vger.kernel.org
Signed-off-by: Soeren Moch <smoch@web.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/rtc/rtc-ds1307.c