diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-12-11 13:14:41 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-01-25 14:52:50 -0800 |
commit | d1c8c7ef3928fa71f4dca570822d54d301216d16 (patch) | |
tree | ca9fc6e32dcb399a6fec42eb605a0ac6e1a99f31 /arch | |
parent | 6109ff5ad5e9c776e43b2ccc08d2a85e87c09e5b (diff) |
mfd: intel-lpss: Fix the fractional clock divider flags
[ Upstream commit 03d790f04fb2507173913cad9c213272ac983a60 ]
The conversion to CLK_FRAC_DIVIDER_POWER_OF_TWO_PS uses wrong flags
in the parameters and hence miscalculates the values in the clock
divider. Fix this by applying the flag to the proper parameter.
Fixes: 82f53f9ee577 ("clk: fractional-divider: Introduce POWER_OF_TWO_PS flag")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reported-by: Alex Vinarskis <alex.vinarskis@gmail.com>
Link: https://lore.kernel.org/r/20231211111441.3910083-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Lee Jones <lee@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions