summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorKars de Jong <jongk@linux-m68k.org>2019-11-16 14:05:48 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-23 10:18:37 +0300
commit77412600a358f6217f1c3d36a0689953b2538c7a (patch)
treee0a9b4836703467ed79ded83fee47ac604390e7d /tools
parent4915aa3b3bb976996624c6ffa81da8e5a705c7d2 (diff)
downloadlinux-77412600a358f6217f1c3d36a0689953b2538c7a.tar.xz
rtc: msm6242: Fix reading of 10-hour digit
commit e34494c8df0cd96fc432efae121db3212c46ae48 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions