Jerome Brunet
2b286b09a0
clk: scpi: error when clock fails to register
...
Current implementation of scpi_clk_add just print a warning when clock
fails to register but then keep going as if nothing happened. The
provider is then registered with bogus data.
This may latter lead to an Oops in __clk_create_clk when
hlist_add_head(&clk->clks_node, &hw->core->clks) is called.
This patch fixes the issue and errors if a clock fails to register.
Fixes: cd52c2a4b5c4 ("clk: add support for clocks provided by SCP(System Control Processor)")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2017-06-29 18:47:35 -07:00
..
2017-06-29 18:47:35 -07:00
2016-08-12 18:00:37 -07:00
2017-01-09 16:06:40 -08:00
2017-06-21 09:12:57 -07:00
2016-11-16 11:04:17 -08:00
2016-08-24 17:37:10 -07:00
2017-06-21 10:46:45 -07:00
2017-06-19 19:02:41 -07:00
2016-05-12 14:48:25 -07:00
2017-06-22 17:39:25 -07:00
2016-09-23 14:49:21 -07:00
2017-06-19 19:02:44 -07:00
2017-06-16 15:01:46 -07:00
2016-08-24 16:05:24 -07:00
2016-12-08 16:29:39 -08:00
2017-06-19 17:14:11 -07:00
2016-11-01 17:32:25 -07:00
2016-12-15 15:39:02 -08:00
2017-06-19 17:43:49 -07:00
2017-06-19 19:02:43 -07:00
2017-06-02 15:57:32 +02:00
2017-06-22 14:55:35 -07:00
2017-06-19 17:01:55 -07:00
2017-04-19 09:27:52 -07:00
2016-12-08 16:35:22 -08:00
2016-11-16 11:19:20 -08:00
2017-06-16 14:51:36 -07:00
2017-04-04 16:06:05 +02:00
2017-06-15 10:48:08 +03:00
2017-06-21 10:47:27 -07:00
2017-01-26 16:10:02 -08:00
2017-06-02 16:27:17 -07:00
2017-05-01 11:13:25 -07:00
2017-06-19 19:02:42 -07:00
2016-08-24 16:08:33 -07:00
2016-08-24 16:10:31 -07:00
2016-08-24 16:11:07 -07:00
2017-06-02 15:37:45 -07:00
2016-08-24 16:12:38 -07:00
2017-01-09 16:38:30 -08:00
2016-08-24 17:19:26 -07:00
2017-06-01 02:13:44 -07:00
2017-04-19 10:18:55 -07:00
2017-06-02 15:37:49 -07:00
2017-06-07 15:32:12 +02:00
2016-11-16 11:08:55 -08:00
2016-08-15 15:08:03 -07:00
2016-08-15 15:08:06 -07:00
2016-11-09 12:05:50 -08:00
2017-06-21 10:45:54 -07:00
2017-04-21 19:18:53 -07:00
2016-06-30 12:25:28 -07:00
2016-10-17 15:31:59 -07:00
2016-08-24 17:23:01 -07:00
2016-08-24 17:23:20 -07:00
2016-06-20 13:00:00 -07:00
2017-04-21 19:47:14 -07:00
2016-08-24 17:23:21 -07:00
2016-10-23 10:18:45 -07:00
2017-06-02 10:51:34 -07:00
2016-08-24 17:23:27 -07:00
2017-06-01 01:24:13 -07:00
2016-09-09 11:07:07 -07:00
2016-06-30 12:29:14 -07:00
2017-06-29 18:47:35 -07:00
2016-08-24 17:29:59 -07:00
2016-08-24 17:30:01 -07:00
2017-04-21 19:44:54 -07:00
2017-04-12 18:50:56 +02:00
2016-08-24 17:34:11 -07:00
2016-06-30 12:26:18 -07:00
2017-04-19 09:08:59 -07:00
2016-08-24 17:35:48 -07:00
2017-01-09 16:06:41 -08:00
2016-10-28 11:03:47 -07:00
2017-04-21 19:47:02 -07:00
2016-11-22 11:45:28 +00:00
2017-06-21 10:45:54 -07:00
2017-06-21 10:45:54 -07:00