From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bartlomiej Zolnierkiewicz Subject: Re: [PATCH 1/1] ide: pdc202xx_new PLL input clock fix Date: Tue, 3 Jul 2007 20:59:31 +0200 Message-ID: <200707032059.31826.bzolnier@gmail.com> References: <7ac1e90c0706210447k7c1bdb26y43d62e930ce7728e@mail.gmail.com> <4689DCF5.3040809@tw.ibm.com> <468A5C1A.9060501@ru.mvista.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from ug-out-1314.google.com ([66.249.92.171]:28914 "EHLO ug-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757629AbXGCU0r (ORCPT ); Tue, 3 Jul 2007 16:26:47 -0400 Received: by ug-out-1314.google.com with SMTP id j3so170452ugf for ; Tue, 03 Jul 2007 13:26:46 -0700 (PDT) In-Reply-To: <468A5C1A.9060501@ru.mvista.com> Content-Disposition: inline Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Sergei Shtylyov Cc: albertl@mail.com, Alan Cox , Bahadir Balban , linux-ide@vger.kernel.org On Tuesday 03 July 2007, Sergei Shtylyov wrote: > Hello. > > Albert Lee wrote: > > Recently the PLL input clock of Promise 2027x is sometimes detected > > higer than expected (e.g. 20.027 MHz compared to 16.714 MHz). > ^ h > > > It seems sometimes the mdelay() function is not as precise as it > > used to be. Per Alan's advice, HT or power management might affect > > the precision of mdelay(). > > > This patch calls gettimeofday() to mesure the time elapsed and > ^ a > > calculate the PLL input clock accordingly. typos fixed manually > > Signed-off-by: Albert Lee > > Except for types in description: > > Acked-by: Sergei Shtylyov added