[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180102182146.vbfnihz73lhgf6lc@localhost>
Date: Tue, 2 Jan 2018 10:21:46 -0800
From: Richard Cochran <richardcochran@...il.com>
To: Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>
Cc: Sagar Arun Kamble <sagar.a.kamble@...el.com>,
Takashi Iwai <tiwai@...e.de>,
Vinod Koul <vinod.koul@...el.com>, alsa-devel@...a-project.org,
Thomas Gleixner <tglx@...utronix.de>,
linux-kernel@...r.kernel.org
Subject: Re: [alsa-devel] [PATCH 15/27] ALSA: hda - Use
timecounter_initialize interface
On Tue, Jan 02, 2018 at 11:15:45AM -0600, Pierre-Louis Bossart wrote:
> I wrote the code for HDaudio and I remember wasting time trying to figure
> out the gory details of the cycle counter stuff when all I wanted was a
> conversion from a 24MHz counter to ns values using a 125/3 operation in the
> right order - as explained in the comments
Would using clocks_calc_mult_shift() work for you?
Thanks,
Richard
Powered by blists - more mailing lists