diff options
author | Stephen Boyd <sboyd@kernel.org> | 2021-09-02 01:26:42 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2021-09-02 01:26:45 +0300 |
commit | 1faa7cb2b066a3f8966a1311d574832ccb93a72c (patch) | |
tree | 47e3299c00c2407417fdb957d182ad9f10832f32 /drivers/acpi/acpi_lpss.c | |
parent | 7110569a096d820876f99543660741bd8a96af7c (diff) | |
parent | e81b917a78c7ed08007de5b502a14535daa106bf (diff) | |
download | linux-1faa7cb2b066a3f8966a1311d574832ccb93a72c.tar.xz |
Merge branch 'clk-frac-divider' into clk-next
- Add power of two flag to fractional divider clk type
* clk-frac-divider:
clk: fractional-divider: Document the arithmetics used behind the code
clk: fractional-divider: Introduce POWER_OF_TWO_PS flag
clk: fractional-divider: Hide clk_fractional_divider_ops from wide audience
clk: fractional-divider: Export approximation algorithm to the CCF users
Diffstat (limited to 'drivers/acpi/acpi_lpss.c')
-rw-r--r-- | drivers/acpi/acpi_lpss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/acpi_lpss.c b/drivers/acpi/acpi_lpss.c index 7f163074e4e4..30b1f511c2af 100644 --- a/drivers/acpi/acpi_lpss.c +++ b/drivers/acpi/acpi_lpss.c @@ -436,8 +436,8 @@ static int register_device_clock(struct acpi_device *adev, if (!clk_name) return -ENOMEM; clk = clk_register_fractional_divider(NULL, clk_name, parent, - 0, prv_base, - 1, 15, 16, 15, 0, NULL); + CLK_FRAC_DIVIDER_POWER_OF_TWO_PS, + prv_base, 1, 15, 16, 15, 0, NULL); parent = clk_name; clk_name = kasprintf(GFP_KERNEL, "%s-update", devname); |