diff options
author | Paul Cercueil <paul@crapouillou.net> | 2020-02-13 13:19:52 -0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2020-03-20 17:08:40 -0700 |
commit | edcc42945dee85e9dec3737f3dbf59d917ae5418 (patch) | |
tree | 062435904793588663dbc8318ade126b5858ee23 /drivers/pci/controller/pci-host-common.c | |
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>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions