Re: Export clocks_calc_mult_shift() function
From: John Stultz
Date: Thu Mar 31 2016 - 18:51:32 EST
On Thu, Mar 31, 2016 at 3:07 PM, Murali Karicheri <m-karicheri2@xxxxxx> wrote:
> On 03/30/2016 01:02 PM, John Stultz wrote:
>> On Wed, Mar 30, 2016 at 10:01 AM, John Stultz <john.stultz@xxxxxxxxxx> wrote:
>>> On Wed, Mar 30, 2016 at 9:46 AM, Murali Karicheri <m-karicheri2@xxxxxx> wrote:
>>>> I didn't see any response? Can I send a patch to export clocks_calc_mult_shift() function??
>>>
>>> Sorry. I was out at a conference when you first sent this out and then
>>> I just now got back from vacation.
>>>
>>> I didn't realize this was for the
>>>
>>
>> Heh. Maybe I'm not all the way back from vacation yet.
>>
>> I was going to say.... I didn't realize this was for the timecounter
>> structures. And yes, in that case we don't have a easy helper to
>> calculate the mult/shift pair.
> John,
>
> So does that mean a green signal for me to send a patch for exporting this?
As I said in the previous mail, I'd prefer you export a helper
function that avoids having the driver select the interval range, and
instead picks a proper value for a given freq. But yea, I understand
we need something here.
thanks
-john