[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACz-3rhCfnvHALYx75-aUyJWTHh3Cb9=KLfVuGh+L=FR6cJ33A@mail.gmail.com>
Date: Sat, 16 Nov 2019 12:17:34 +0100
From: Kars de Jong <jongk@...ux-m68k.org>
To: Alessandro Zummo <a.zummo@...ertech.it>,
Alexandre Belloni <alexandre.belloni@...tlin.com>
Cc: linux-rtc@...r.kernel.org, linux-kernel@...r.kernel.org,
Geert Uytterhoeven <geert@...ux-m68k.org>
Subject: Re: [PATCH] rtc: msm6242: Fix reading of 10-hour digit
Forgot to add:
Fixes: 4f9b9bba1dd1 ("rtc: Add an RTC driver for the Oki MSM6242")
Op za 16 nov. 2019 om 12:06 schreef Kars de Jong <jongk@...ux-m68k.org>:
>
> 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.
>
> Cc: Geert Uytterhoeven <geert@...ux-m68k.org>
> Tested-by: Kars de Jong <jongk@...ux-m68k.org>
> Signed-off-by: Kars de Jong <jongk@...ux-m68k.org>
Powered by blists - more mailing lists