diff options
author | 2019-11-16 12:05:48 +0100 | |
---|---|---|
committer | 2019-11-18 15:20:20 +0100 | |
commit | e34494c8df0cd96fc432efae121db3212c46ae48 (patch) | |
tree | 1c1202139b9d24ea6e432750363471780ed4db95 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rtc: tps65910: allow using RTC without alarm interrupt (diff) | |
download | linux-dev-e34494c8df0cd96fc432efae121db3212c46ae48.tar.xz linux-dev-e34494c8df0cd96fc432efae121db3212c46ae48.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions