commit | edcc42945dee85e9dec3737f3dbf59d917ae5418 | [log] [tgz] |
---|---|---|
author | Paul Cercueil <paul@crapouillou.net> | Thu Feb 13 13:19:52 2020 -0300 |
committer | Stephen Boyd <sboyd@kernel.org> | Fri Mar 20 17:08:40 2020 -0700 |
tree | 062435904793588663dbc8318ade126b5858ee23 | |
parent | c067b46d731a764fc46ecc466c2967088c97089e [diff] |
clk: ingenic/TCU: Fix round_rate returning error When requesting a rate superior to the parent's rate, it would return -EINVAL instead of simply returning the parent's rate like it should. Fixes: 4f89e4b8f121 ("clk: ingenic: Add driver for the TCU clocks") Cc: stable@vger.kernel.org Signed-off-by: Paul Cercueil <paul@crapouillou.net> Link: https://lkml.kernel.org/r/20200213161952.37460-2-paul@crapouillou.net Signed-off-by: Stephen Boyd <sboyd@kernel.org>