From 45fad912393b45d43214629a8e6a3151bbb3f54a Mon Sep 17 00:00:00 2001 From: Roel Kluin Date: Wed, 11 Feb 2009 13:04:34 -0800 Subject: [PATCH] --- yaml --- r: 131289 b: refs/heads/master c: c318c7ac49f9139f55da619bbace6137e1509390 h: refs/heads/master i: 131287: 5f607db66220330adf2ea520aa6142d765618576 v: v3 --- [refs] | 2 +- trunk/drivers/rtc/rtc-au1xxx.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index d36977e4b457..41720a9467e8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b4870bc5ee8c7a37541a3eb1208b5c76c13a078a +refs/heads/master: c318c7ac49f9139f55da619bbace6137e1509390 diff --git a/trunk/drivers/rtc/rtc-au1xxx.c b/trunk/drivers/rtc/rtc-au1xxx.c index 8906a688e6a6..979ed0406ce9 100644 --- a/trunk/drivers/rtc/rtc-au1xxx.c +++ b/trunk/drivers/rtc/rtc-au1xxx.c @@ -81,7 +81,7 @@ static int __devinit au1xtoy_rtc_probe(struct platform_device *pdev) if (au_readl(SYS_TOYTRIM) != 32767) { /* wait until hardware gives access to TRIM register */ t = 0x00100000; - while ((au_readl(SYS_COUNTER_CNTRL) & SYS_CNTRL_T0S) && t--) + while ((au_readl(SYS_COUNTER_CNTRL) & SYS_CNTRL_T0S) && --t) msleep(1); if (!t) {