2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-19 18:53:52 +08:00
linux-next/drivers/clk/rockchip
Douglas Anderson 6943b83972 clk: rockchip: Don't yell about bad mmc phases when getting
At boot time, my rk3288-veyron devices yell with 8 lines that look
like this:
  [    0.000000] rockchip_mmc_get_phase: invalid clk rate

This is because the clock framework at clk_register() time tries to
get the phase but we don't have a parent yet.

While the errors appear to be harmless they are still ugly and, in
general, we don't want yells like this in the log unless they are
important.

There's no real reason to be yelling here.  We can still return
-EINVAL to indicate that the phase makes no sense without a parent.
If someone really tries to do tuning and the clock is reported as 0
then we'll see the yells in rockchip_mmc_set_phase().

Fixes: 4bf59902b5 ("clk: rockchip: Prevent calculating mmc phase if clock rate is zero")
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2019-05-20 01:00:52 +02: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: core: replace clk_{readl,writel} with {readl,writel} 2019-04-23 10:57:49 -07:00
clk-half-divider.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07: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: Don't yell about bad mmc phases when getting 2019-05-20 01:00:52 +02: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: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
clk-rk3036.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
clk-rk3128.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
clk-rk3188.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
clk-rk3228.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
clk-rk3288.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
clk-rk3328.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
clk-rk3368.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
clk-rk3399.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
clk-rv1108.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
clk.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
clk.h clk: rockchip: add a COMPOSITE_DIV_OFFSET clock-type 2019-04-12 22:34:18 +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