]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: ds1307: fix regmap config
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 25 Jul 2017 16:44:04 +0000 (18:44 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 21 Aug 2017 09:08:03 +0000 (11:08 +0200)
commit4e680720535be12505e32a22a07392d21faaac8b
treec2c3cfa85d161976b6ccb11c2acf6d01fa96694d
parentc1e7f93cfc9ccbe5772b8d0eb3da04ab3bcc7881
rtc: ds1307: fix regmap config

Current max_register setting breaks reading nvram on certain chips and
also reading the standard registers on RX8130 where register map starts
at 0x10.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Fixes: 3a82680cb0de "rtc: ds1307: convert driver to regmap"
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-ds1307.c