1
0
Fork 0
alistair23-linux/drivers/clk/ingenic
Paul Cercueil bf4fcd5274 clk: ingenic/TCU: Fix round_rate returning error
commit edcc42945d upstream.

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: 4f89e4b8f1 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-17 10:50:21 +02:00
..
Kconfig clk: ingenic: Add driver for the TCU clocks 2019-08-08 15:30:07 -07:00
Makefile clk: ingenic: Add driver for the TCU clocks 2019-08-08 15:30:07 -07:00
cgu.c This round of clk driver and framework updates is heavy on the driver update 2019-07-17 10:07:48 -07:00
cgu.h This round of clk driver and framework updates is heavy on the driver update 2019-07-17 10:07:48 -07:00
jz4725b-cgu.c clk: ingenic: Use CLK_OF_DECLARE_DRIVER macro 2019-08-12 10:59:50 -07:00
jz4740-cgu.c Main MIPS changes for v5.4: 2019-09-22 09:30:30 -07:00
jz4770-cgu.c clk: ingenic/jz4770: Exit with error if CGU init failed 2020-04-17 10:50:21 +02:00
jz4780-cgu.c clk: ingenic: Use CLK_OF_DECLARE_DRIVER macro 2019-08-12 10:59:50 -07:00
pm.c clk: ingenic: Handle setting the Low-Power Mode bit 2019-06-25 15:43:15 -07:00
pm.h clk: ingenic: Handle setting the Low-Power Mode bit 2019-06-25 15:43:15 -07:00
tcu.c clk: ingenic/TCU: Fix round_rate returning error 2020-04-17 10:50:21 +02:00