diff mbox series

[v2,05/17] Revert "of: platform: Batch fwnode parsing when adding all top level devices"

Message ID 20201121020232.908850-6-saravanak@google.com
State Accepted
Commit 087ad763c15477fba4324d7312866946b7f5ed30
Headers show
Series Refactor fw_devlink to significantly improve boot time | expand

Commit Message

Saravana Kannan Nov. 21, 2020, 2:02 a.m. UTC
This reverts commit 93d2e4322aa74c1ad1e8c2160608eb9a960d69ff.

The fw_devlink_pause/resume() optimization attempt is getting replaced
with a much more robust optimization by the end of this series. So, stop
using those APIs.

Signed-off-by: Saravana Kannan <saravanak@google.com>
---
 drivers/of/platform.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Rob Herring Dec. 7, 2020, 10:18 p.m. UTC | #1
On Fri, 20 Nov 2020 18:02:20 -0800, Saravana Kannan wrote:
> This reverts commit 93d2e4322aa74c1ad1e8c2160608eb9a960d69ff.

> 

> The fw_devlink_pause/resume() optimization attempt is getting replaced

> with a much more robust optimization by the end of this series. So, stop

> using those APIs.

> 

> Signed-off-by: Saravana Kannan <saravanak@google.com>

> ---

>  drivers/of/platform.c | 2 --

>  1 file changed, 2 deletions(-)

> 


Acked-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/drivers/of/platform.c b/drivers/of/platform.c
index b557a0fcd4ba..79bd5f5a1bf1 100644
--- a/drivers/of/platform.c
+++ b/drivers/of/platform.c
@@ -538,9 +538,7 @@  static int __init of_platform_default_populate_init(void)
 	}
 
 	/* Populate everything else. */
-	fw_devlink_pause();
 	of_platform_default_populate(NULL, NULL, NULL);
-	fw_devlink_resume();
 
 	return 0;
 }