Andy Shevchenko d1c8c7ef39 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>
2024-01-25 14:52:50 -08:00
..
2021-09-07 12:38:59 -07:00
2023-11-20 11:08:24 +01:00
2023-03-10 09:39:34 +01:00
2019-07-02 12:11:31 +01:00
2019-07-15 20:18:40 -07:00
2021-09-07 12:38:59 -07:00
2021-03-10 10:58:33 +00:00
2019-07-09 08:59:39 -07:00