diff options
| author | Codrin Ciubotariu <[email protected]> | 2021-07-07 13:12:13 +0000 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2021-08-29 05:28:24 +0000 |
| commit | af7651e67b9d5f7e63ea23b118e3672ac662244a (patch) | |
| tree | 864aa065666f13f85b8eec0a0adf0ee3d67fd2f4 /scripts/clang-tools/gen_compile_commands.py | |
| parent | Linux 5.14-rc1 (diff) | |
| download | kernel-af7651e67b9d5f7e63ea23b118e3672ac662244a.tar.gz kernel-af7651e67b9d5f7e63ea23b118e3672ac662244a.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Nicolas Ferre <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
