Stephen Boyd
a7b85ad25a
clk: sunxi: Don't call clk_hw_get_name() on a hw that isn't registered
...
The implementation of clk_hw_get_name() relies on the clk_core
associated with the clk_hw pointer existing. If of_clk_hw_register()
fails, there isn't a clk_core created yet, so calling clk_hw_get_name()
here fails. Extract the name first so we can print it later.
Fixes: 1d80c14248d6 ("clk: sunxi-ng: Add common infrastructure")
Cc: Maxime Ripard <maxime.ripard@bootlin.com>
Cc: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2019-08-16 10:27:29 -07:00
..
2019-08-16 10:27:29 -07:00
2019-06-05 17:36:37 +02:00
2019-05-30 11:26:32 -07:00
2019-06-05 17:36:37 +02:00
2019-05-30 11:26:32 -07:00
2019-06-05 17:36:37 +02:00
2019-05-30 11:26:32 -07:00
2019-07-17 10:07:48 -07:00
2019-06-05 17:36:37 +02:00
2019-05-30 11:26:32 -07:00
2019-06-05 17:36:37 +02:00
2019-05-30 11:26:32 -07:00
2017-11-02 11:10:55 +01:00
2019-05-30 11:26:32 -07:00
2017-11-02 11:10:55 +01:00
2019-05-30 11:26:32 -07:00
2019-06-05 17:36:37 +02:00
2019-05-30 11:26:32 -07:00
2019-06-05 17:36:37 +02:00
2019-05-30 11:26:32 -07:00
2019-06-05 17:36:37 +02:00
2019-05-30 11:26:32 -07:00
2019-06-05 17:36:37 +02:00
2019-05-30 11:26:32 -07:00
2019-06-05 17:36:37 +02:00
2019-05-30 11:26:32 -07:00
2019-06-05 17:36:37 +02:00
2019-05-30 11:26:32 -07:00
2019-06-05 17:36:37 +02:00
2019-07-17 10:07:48 -07:00
2019-05-30 11:26:37 -07:00
2019-07-17 10:07:48 -07:00
2019-05-30 11:26:37 -07:00
2019-07-17 10:07:48 -07:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2019-07-17 10:07:48 -07:00
2019-07-17 10:07:48 -07:00
2019-06-05 17:36:37 +02:00
2019-05-30 11:26:37 -07:00
2019-06-05 17:36:37 +02:00
2019-05-30 11:26:37 -07:00
2019-07-17 10:07:48 -07:00
2019-05-30 11:26:37 -07:00
2019-07-17 10:07:48 -07:00
2019-05-30 11:26:37 -07:00
2019-07-17 10:07:48 -07:00
2019-05-30 11:26:37 -07:00
2019-07-17 10:07:48 -07:00
2019-05-30 11:26:37 -07:00
2019-06-05 17:36:37 +02:00
2019-05-30 11:26:37 -07:00
2019-07-17 10:07:48 -07:00
2019-05-30 11:26:37 -07:00
2019-06-05 17:36:37 +02:00
2019-05-30 11:26:37 -07:00
2019-07-17 10:07:48 -07:00
2019-05-30 11:26:37 -07:00
2019-06-24 18:28:31 -07:00
2018-05-04 17:05:46 +02:00
2019-06-22 10:13:16 +08:00
2019-05-01 13:01:26 -07:00
2019-06-22 10:13:16 +08:00
2019-05-01 13:01:26 -07:00
2019-05-21 10:50:46 +02:00
2018-12-04 08:41:13 +01:00