2006-09-28 14:20:10

by Jean-Baptiste Maneyrol

[permalink] [raw]
Subject: [PATCH] rtc driver rtc-pcf8563 century bit inversed

The century bit PCF8563_MO_C in the month register is misinterpreted. It
is set to 1 for the 20th century and 0 for 21th, and the driver is
expecting the opposite behavior.

Here is a small patch to address this issue.
Thanks for all the good work!


Jean-Baptiste Maneyrol
Teamlog - France


Attachments:
patch (796.00 B)

2006-09-28 17:17:12

by Alessandro Zummo

[permalink] [raw]
Subject: Re: [PATCH] rtc driver rtc-pcf8563 century bit inversed

On Thu, 28 Sep 2006 16:19:49 +0200
Jean-Baptiste Maneyrol <[email protected]> wrote:

> The century bit PCF8563_MO_C in the month register is misinterpreted. It
> is set to 1 for the 20th century and 0 for 21th, and the driver is
> expecting the opposite behavior.
>
> Here is a small patch to address this issue.
> Thanks for all the good work!

Thanks for spotting this, please fwd to
akpm for inclusion in -mm .

Acked-by: Alessandro Zummo <[email protected]>


--

Best regards,

Alessandro Zummo,
Tower Technologies - Turin, Italy

http://www.towertech.it