Re: [PATCH v8 3/4] rtc: ds1307: add offset sysfs for mt41txx chips.
From: Giulio Benetti
Date: Wed Jul 18 2018 - 05:37:03 EST
Il 18/07/2018 11:22, Giulio Benetti ha scritto:
+#define M41TXX_REG_CONTROL 0x07
+# define M41TXX_BIT_OUT BIT(7)
+# define M41TXX_BIT_FT BIT(6)
+# define M41TXX_BIT_CALIB_SIGN BIT(5)
+# define M41TXX_M_CALIBRATION GENMASK(5, 0)
This must be GENMASK(4, 0) to be 0x1f.
I'm going to send last patchset, sorry everyone for the mess.
Giulio