Re: [PATCH] RTC v3020 fixes

2007-08-23 Thread Mike
Satyam Sharma wrote: > Hi, > > > On Thu, 23 Aug 2007, Mike Rapoport wrote: > > No changelog for patch ?! > Ooops. The wrong file from the wrong place. Sorry for the noise. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Mo

Re: [PATCH] RTC v3020 fixes

2007-08-22 Thread Satyam Sharma
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_

[PATCH] RTC v3020 fixes

2007-08-22 Thread Mike Rapoport
Signed-off-by: Mike Rapoport <[EMAIL PROTECTED]> Acked-by: Raphael Assenat <[EMAIL PROTECTED]> diff --git a/drivers/char/emv3020.c b/drivers/char/emv3020.c index df7f1a4..1d93269 100644 --- a/drivers/char/emv3020.c +++ b/drivers/char/emv3020.c @@ -48,12 +48,16 @@ static void emv3020_set_reg(unsign

Re: [PATCH] RTC v3020 fixes

2007-08-15 Thread Mike Rapoport
Raphaël Assénat wrote: Mike Rapoport wrote: Fix off-by-one in month calculations Add delay for bus accesses to satisfy Tw > 500ns *snip* @@ -135,7 +140,7 @@ static int v3020_set_time(struct device *dev, struct rtc_time *dt) v3020_set_reg(chip, V3020_MINUTES, BIN2BCD(dt->tm_min));

Re: [PATCH] RTC v3020 fixes

2007-08-15 Thread Raphaël Assénat
Mike Rapoport wrote: Fix off-by-one in month calculations Add delay for bus accesses to satisfy Tw > 500ns *snip* @@ -135,7 +140,7 @@ static int v3020_set_time(struct device *dev, struct rtc_time *dt) v3020_set_reg(chip, V3020_MINUTES, BIN2BCD(dt->tm_min)); v3020_set_reg(chip, V

[PATCH] RTC v3020 fixes

2007-08-15 Thread Mike Rapoport
Fix off-by-one in month calculations Add delay for bus accesses to satisfy Tw > 500ns Signed-off-by: Mike Rapoport <[EMAIL PROTECTED]> drivers/rtc/rtc-v3020.c |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/rtc/rtc-v3020.c b/drivers/rtc/rtc-v3020.c index