Kars de Jong
e34494c8df
rtc: msm6242: Fix reading of 10-hour digit
...
The driver was reading the wrong register as the 10-hour digit due to
a misplaced ')'. It was in fact reading the 1-second digit register due
to this bug.
Also remove the use of a magic number for the hour mask and use the define
for it which was already present.
Fixes: 4f9b9bba1dd1 ("rtc: Add an RTC driver for the Oki MSM6242")
Tested-by: Kars de Jong <jongk@linux-m68k.org>
Signed-off-by: Kars de Jong <jongk@linux-m68k.org>
Link: https://lore.kernel.org/r/20191116110548.8562-1-jongk@linux-m68k.org
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2019-11-18 15:20:20 +01:00
..
2019-08-20 21:44:45 +02:00
2019-04-04 10:07:08 +02:00
2019-04-04 10:07:08 +02:00
2019-11-08 16:14:09 +01:00
2019-11-15 13:59:29 +01:00
2019-04-06 15:05:31 +02:00
2019-08-23 16:20:50 +02:00
2019-04-04 10:07:08 +02:00
2019-04-04 10:07:08 +02:00
2019-08-21 09:57:23 +02:00
2019-08-13 10:53:10 +02:00
2019-04-11 16:42:55 +02:00
2019-05-30 11:29:22 -07:00
2019-11-08 16:14:09 +01:00
2019-08-21 09:57:23 +02:00
2019-03-18 03:36:01 +01:00
2019-08-21 09:57:23 +02:00
2019-10-07 15:49:20 +02:00
2019-05-30 11:26:37 -07:00
2019-10-07 01:07:35 +02:00
2019-10-07 01:07:35 +02:00
2019-10-03 21:50:47 +02:00
2019-05-30 11:26:32 -07:00
2019-10-07 01:07:35 +02:00
2018-03-02 10:09:58 +01:00
2019-11-08 16:56:28 +01:00
2019-06-19 17:09:55 +02:00
2019-05-21 10:50:45 +02:00
2019-11-08 16:14:09 +01:00
2019-10-07 01:07:35 +02:00
2019-05-30 11:26:32 -07:00
2019-10-07 01:07:35 +02:00
2018-09-28 14:20:59 +02:00
2019-05-30 11:26:41 -07:00
2019-11-08 16:14:09 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-10-07 15:49:18 +02:00
2019-10-07 01:07:35 +02:00
2019-10-07 01:07:35 +02:00
2019-04-04 10:07:09 +02:00
2019-10-07 01:07:35 +02:00
2019-10-07 01:07:35 +02:00
2019-11-15 11:58:14 +01:00
2019-08-21 09:57:23 +02:00
2019-07-17 10:03:50 -07:00
2019-10-19 22:56:11 +02:00
2019-10-07 15:49:38 +02:00
2019-07-31 13:25:27 -06:00
2019-06-19 17:09:55 +02:00
2019-10-07 01:07:35 +02:00
2019-10-07 01:07:35 +02:00
2019-08-21 09:57:23 +02:00
2019-10-16 10:39:00 +02:00
2019-06-19 17:09:55 +02:00
2019-05-23 17:42:25 +02:00
2019-05-30 11:26:32 -07:00
2017-11-02 11:10:55 +01:00
2019-05-30 11:26:32 -07:00
2019-11-08 16:14:09 +01:00
2019-10-07 01:07:35 +02:00
2019-07-17 10:03:50 -07:00
2019-11-08 16:14:09 +01:00
2019-05-30 11:26:37 -07:00
2019-05-21 10:50:45 +02:00
2019-10-06 21:04:51 +02:00
2019-06-05 17:37:06 +02:00
2019-06-05 17:36:37 +02:00
2019-08-21 09:57:23 +02:00
2019-07-22 22:16:14 +02:00
2019-05-30 11:26:32 -07:00
2019-06-19 17:09:55 +02:00
2019-07-22 22:30:19 +02:00
2019-10-07 01:07:35 +02:00
2019-06-19 17:09:55 +02:00
2019-10-07 01:07:35 +02:00
2019-11-08 16:14:09 +01:00
2019-05-30 11:26:32 -07:00
2019-10-07 15:49:16 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:32 -07:00
2019-06-19 17:09:55 +02:00
2019-10-06 21:04:51 +02:00
2018-03-17 14:20:46 +01:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2018-11-22 18:11:35 +01:00
2018-08-14 23:38:45 +02:00
2019-09-01 09:18:35 +02:00
2019-04-16 18:06:54 +02:00
2019-11-08 16:56:28 +01:00
2019-06-19 17:09:55 +02:00
2019-09-10 16:14:15 +02:00
2019-10-07 01:07:35 +02:00
2019-06-19 17:09:55 +02:00
2019-06-05 17:37:17 +02:00
2019-11-18 15:20:20 +01:00
2019-08-21 09:57:23 +02:00
2019-10-07 01:07:35 +02:00
2019-10-07 01:07:35 +02:00
2019-07-22 22:16:12 +02:00
2019-08-12 23:04:25 +02:00
2019-10-07 01:07:35 +02:00
2019-05-24 17:39:01 +02:00
2019-05-08 22:14:36 +02:00
2019-08-20 21:42:19 +02:00
2019-10-21 10:24:18 +02:00
2019-06-19 17:09:55 +02:00
2019-11-15 11:58:16 +01:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:32 -07:00
2019-04-04 10:07:11 +02:00
2019-09-01 08:48:28 +02:00
2019-10-07 01:07:35 +02:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:32 -07:00
2019-08-13 10:53:10 +02:00
2019-04-04 10:07:10 +02:00
2019-08-21 09:57:23 +02:00
2019-08-13 10:53:10 +02:00
2019-10-06 21:04:51 +02:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:29:52 -07:00
2019-08-13 10:53:10 +02:00
2019-05-21 10:50:45 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-10-07 01:07:35 +02:00
2019-10-19 23:16:57 +02:00
2019-08-21 09:57:23 +02:00
2019-08-21 09:57:23 +02:00
2019-06-19 17:09:55 +02:00
2019-11-15 11:58:12 +01:00
2019-07-17 10:03:50 -07:00
2019-07-17 10:03:50 -07:00
2019-06-19 17:09:55 +02:00
2019-10-07 01:07:35 +02:00
2019-06-19 17:09:55 +02:00
2019-07-23 20:34:31 +02:00
2019-10-19 22:33:05 +02:00
2019-10-07 01:07:35 +02:00
2017-11-02 11:10:55 +01:00
2019-11-08 16:14:09 +01:00
2019-08-21 09:57:23 +02:00
2019-05-09 14:46:33 -07:00
2019-11-08 16:14:09 +01:00
2019-09-01 08:48:23 +02:00
2019-10-07 01:07:35 +02:00
2019-10-07 01:07:35 +02:00
2018-03-01 10:49:41 +01:00
2019-10-07 01:07:35 +02:00
2019-10-07 01:07:35 +02:00
2019-04-11 16:42:55 +02:00
2019-04-04 10:07:10 +02:00
2019-09-22 11:05:43 -07:00
2019-10-07 01:07:35 +02:00
2019-10-07 01:07:35 +02:00
2019-05-23 17:44:52 +02:00
2019-08-21 09:57:23 +02:00
2019-11-17 22:24:33 +01:00
2019-05-30 11:26:32 -07:00
2019-10-07 01:07:35 +02:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:35 -07:00
2019-10-19 22:33:15 +02:00
2019-10-14 17:49:17 +02:00
2019-07-13 21:39:51 +02:00
2019-05-30 11:26:32 -07:00
2019-06-19 17:09:55 +02:00
2019-10-07 01:07:35 +02:00
2019-10-14 17:49:19 +02:00
2019-04-04 10:07:08 +02:00
2019-05-08 22:14:36 +02:00