diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-09-22 17:54:11 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-10-02 20:29:48 +0200 |
commit | 0777591e715a89fd44fd598167aa8beaa49f1776 (patch) | |
tree | 42ae6f213cbe6a54aa7fd56181b559d487d07a7c /drivers/clk/Kconfig | |
parent | clk: rockchip: save width in struct clk_fractional_divider (diff) | |
download | linux-0777591e715a89fd44fd598167aa8beaa49f1776.tar.xz linux-0777591e715a89fd44fd598167aa8beaa49f1776.zip |
clk: fractional-divider: switch to rational best approximation
This patch converts the code to use rational best approximation algorithm which
is much more precise.
Suggested-by: Stephen Boyd <sboyd@codeaurora.org>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/Kconfig')
-rw-r--r-- | drivers/clk/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index 42f7120ca9ce..bd9f3120370f 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -14,6 +14,7 @@ config COMMON_CLK select HAVE_CLK_PREPARE select CLKDEV_LOOKUP select SRCU + select RATIONAL ---help--- The common clock framework is a single definition of struct clk, useful across many platforms, as well as an |