summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-ep93xx.c
diff options
context:
space:
mode:
authorCodrin Ciubotariu <codrin.ciubotariu@microchip.com>2021-07-07 16:12:13 +0300
committerStephen Boyd <sboyd@kernel.org>2021-08-28 22:28:24 -0700
commitaf7651e67b9d5f7e63ea23b118e3672ac662244a (patch)
tree864aa065666f13f85b8eec0a0adf0ee3d67fd2f4 /drivers/pwm/pwm-ep93xx.c
parente73f0f0ee7541171d89f2e2491130c7771ba58d3 (diff)
downloadlinux-af7651e67b9d5f7e63ea23b118e3672ac662244a.tar.bz2
clk: at91: clk-generated: Limit the requested rate to our range
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: df70aeef6083 ("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>
Diffstat (limited to 'drivers/pwm/pwm-ep93xx.c')
0 files changed, 0 insertions, 0 deletions