kernel-fxtec-pro1x/drivers/clk/rockchip
Enric Balletbo i Serra 72872e3600 clk: rockchip: Fix static checker warning in rockchip_ddrclk_get_parent call
commit 665636b2940d0897c4130253467f5e8c42eea392 upstream.

Fixes the signedness bug returning '(-22)' on the return type by removing the
sanity checker in rockchip_ddrclk_get_parent(). The function should return
and unsigned value only and it's safe to remove the sanity checker as the
core functions that call get_parent like clk_core_get_parent_by_index already
ensures the validity of the clk index returned (index >= core->num_parents).

Fixes: a4f182bf81 ("clk: rockchip: add new clock-type for the ddrclk")
Cc: stable@vger.kernel.org
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-11-21 09:19:16 +01:00
..
clk-cpu.c clk: rockchip: Remove superfluous error message in rockchip_clk_register_cpuclk() 2017-09-28 15:22:50 +02:00
clk-ddr.c clk: rockchip: Fix static checker warning in rockchip_ddrclk_get_parent call 2018-11-21 09:19:16 +01:00
clk-half-divider.c clk: rockchip: add support for half divider 2018-07-06 19:17:57 +02:00
clk-inverter.c clk: rockchip: don't return NULL when registering inverter fails 2016-02-15 23:35:20 +01:00
clk-mmc-phase.c clk: rockchip: Fix error return in phase clock registration 2018-03-23 09:08:43 +01:00
clk-muxgrf.c clk: rockchip: add a clock-type for muxes based in the grf 2017-01-02 14:24:57 +01:00
clk-pll.c clk: rockchip: add pll_wait_lock for pll_enable 2017-03-22 18:33:22 +01:00
clk-px30.c clk: rockchip: add clock controller for px30 2018-07-06 19:17:57 +02:00
clk-rk3036.c clk: rockchip: mark pclk_ddrupctl as critical_clock on rk3036 2017-06-02 15:42:38 +02:00
clk-rk3128.c clk: rockchip: add sclk_timer5 as critical clock on rk3128 2017-09-17 01:55:36 +02:00
clk-rk3188.c clk: rockchip: use new cif/vdpu clock ids on rk3188 2017-10-14 21:32:11 +02:00
clk-rk3228.c clk: rockchip: Fix wrong parent for SDMMC phase clock for rk3228 2018-03-23 08:49:35 +01:00
clk-rk3288.c clk: rockchip: mark noc and some special clk as critical on rk3288 2017-06-02 15:54:20 +02:00
clk-rk3328.c clk: rockchip: fix wrong mmc sample phase shift for rk3328 2018-11-21 09:19:16 +01:00
clk-rk3368.c clk: rockchip: export clock pclk_efuse_256 for RK3368 SoCs 2017-10-14 21:31:58 +02:00
clk-rk3399.c clk: rockchip: Add pclk_rkpwm_pmu to PMU critical clocks in rk3399 2018-08-06 23:46:52 +02:00
clk-rv1108.c clk: rockchip: fix the rv1108 clk_mac sel register description 2017-08-22 02:55:03 +02:00
clk.c clk: rockchip: add support for half divider 2018-07-06 19:17:57 +02:00
clk.h clk: rockchip: add clock controller for px30 2018-07-06 19:17:57 +02:00
Makefile clk: rockchip: add clock controller for px30 2018-07-06 19:17:57 +02:00
softrst.c clk: rockchip: Make reset_control_ops const 2016-03-29 16:29:46 -07:00