Re: [PATCH v2 1/2] clk: fractional-divider: switch to rational best approximation

2015-03-31 Thread Andy Shevchenko
On Tue, 2015-03-31 at 10:42 +0300, Andy Shevchenko wrote: > On Tue, Mar 31, 2015 at 3:32 AM, Stephen Boyd wrote: > > On 03/30/15 11:57, Andy Shevchenko wrote: > >> This patch converts the code to use rational best approximation algorithm > >> which > >> is more precise. > > >> ---

Re: [PATCH v2 1/2] clk: fractional-divider: switch to rational best approximation

2015-03-31 Thread Andy Shevchenko
On Tue, Mar 31, 2015 at 3:32 AM, Stephen Boyd wrote: > On 03/30/15 11:57, Andy Shevchenko wrote: >> This patch converts the code to use rational best approximation algorithm >> which >> is more precise. >> --- a/drivers/clk/Kconfig >> +++ b/drivers/clk/Kconfig >> @@ -14,6 +14,7 @@ config

Re: [PATCH v2 1/2] clk: fractional-divider: switch to rational best approximation

2015-03-31 Thread Andy Shevchenko
On Tue, Mar 31, 2015 at 3:32 AM, Stephen Boyd sb...@codeaurora.org wrote: On 03/30/15 11:57, Andy Shevchenko wrote: This patch converts the code to use rational best approximation algorithm which is more precise. --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -14,6 +14,7 @@ config

Re: [PATCH v2 1/2] clk: fractional-divider: switch to rational best approximation

2015-03-31 Thread Andy Shevchenko
On Tue, 2015-03-31 at 10:42 +0300, Andy Shevchenko wrote: On Tue, Mar 31, 2015 at 3:32 AM, Stephen Boyd sb...@codeaurora.org wrote: On 03/30/15 11:57, Andy Shevchenko wrote: This patch converts the code to use rational best approximation algorithm which is more precise. ---

Re: [PATCH v2 1/2] clk: fractional-divider: switch to rational best approximation

2015-03-30 Thread Stephen Boyd
On 03/30/15 11:57, Andy Shevchenko wrote: > This patch converts the code to use rational best approximation algorithm > which > is more precise. > > Suggested-by: Stephen Boyd > Signed-off-by: Andy Shevchenko > --- > drivers/clk/Kconfig | 3 +-- >

[PATCH v2 1/2] clk: fractional-divider: switch to rational best approximation

2015-03-30 Thread Andy Shevchenko
This patch converts the code to use rational best approximation algorithm which is more precise. Suggested-by: Stephen Boyd Signed-off-by: Andy Shevchenko --- drivers/clk/Kconfig | 3 +-- drivers/clk/clk-fractional-divider.c | 39 ++-- 2 files

[PATCH v2 1/2] clk: fractional-divider: switch to rational best approximation

2015-03-30 Thread Andy Shevchenko
This patch converts the code to use rational best approximation algorithm which is more precise. Suggested-by: Stephen Boyd sb...@codeaurora.org Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/clk/Kconfig | 3 +--

Re: [PATCH v2 1/2] clk: fractional-divider: switch to rational best approximation

2015-03-30 Thread Stephen Boyd
On 03/30/15 11:57, Andy Shevchenko wrote: This patch converts the code to use rational best approximation algorithm which is more precise. Suggested-by: Stephen Boyd sb...@codeaurora.org Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/clk/Kconfig