Files
linux/drivers/clk
Codrin Ciubotariu fd165f9763 clk: at91: clk-generated: Limit the requested rate to our range
[ Upstream commit af7651e67b ]

On clk_generated_determine_rate(), the requested rate could be outside
of clk's range. Limit the rate to the clock's range to not return an
error.

Fixes: df70aeef60 ("clk: at91: add generated clock driver")
Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Link: https://lore.kernel.org/r/20210707131213.3283509-1-codrin.ciubotariu@microchip.com
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-18 13:43:33 +02:00
..
2021-06-01 23:39:15 -07:00
2018-12-11 09:57:47 -08:00
2020-12-07 16:56:41 -08:00
2018-07-06 13:44:06 -07:00