linux-mips
[Top] [All Lists]

Re: [PATCH] MIPS: JZ4740: reset: Initialize hibernate wakeup counters.

To: Sergei Shtylyov <sshtylyov@mvista.com>
Subject: Re: [PATCH] MIPS: JZ4740: reset: Initialize hibernate wakeup counters.
From: Maarten ter Huurne <maarten@treewalker.org>
Date: Fri, 30 Mar 2012 16:32:52 +0200
Cc: Ralf Baechle <ralf@linux-mips.org>, Lars-Peter Clausen <lars@metafoo.de>, linux-mips@linux-mips.org
In-reply-to: <27793108.UosBlGQXP9@hyperion>
References: <1333037998-18762-1-git-send-email-maarten@treewalker.org> <4F75A5C3.9000405@mvista.com> <27793108.UosBlGQXP9@hyperion>
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/4.8.0 (Linux/3.1.9-1.4-default; KDE/4.8.1; x86_64; ; )
On Friday 30 March 2012 16:07:41, I wrote:

> Actually the variable can be 32-bit: rtc_rate is in kHz, so the
> computation would wrap around for an RTC clock of over 40 GHz and I'm
> sure that is far more than the hardware supports.

Correction: rtc_rate is in Hz, therefore the computation would wrap around 
at 40 MHz, but that's likely still far more than the hardware supports. The 
typical RTC clock value is 32 kHz.

Bye,
                Maarten


<Prev in Thread] Current Thread [Next in Thread>