lkml.org 
[lkml]   [2007]   [Aug]   [23]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 23 Aug 2007 12:26:38 +0530 (IST)
FromSatyam Sharma <>
SubjectRe: [PATCH] RTC v3020 fixes
Hi,


On Thu, 23 Aug 2007, Mike Rapoport wrote:

No changelog for patch ?!

> -	for ( i = 0; i < 4; i++ )
> +	for ( i = 0; i < 4; i++ ) {
>  		writel((address << (16-i)), EMV3020_VA_RTC);
> +		udelay(1);
> +	}
> +
> 

^ Spurious extra newline here.

> -	BCD_TO_BIN(dt->tm_mon);
> +	BCD_TO_BIN(dt->tm_mon - 1);

> -	emv3020_set_reg(0x06, dt->tm_mon);
> +	emv3020_set_reg(0x06, dt->tm_mon + 1);

Why? (looks unrelated to the udelay() fixes as well)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-08-23 08:47    [from the cache]
©2003-2008