Revert "of: platform: Batch fwnode parsing when adding all top level devices"
authorSaravana Kannan <saravanak@google.com>
Sat, 21 Nov 2020 02:02:20 +0000 (18:02 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Dec 2020 18:10:20 +0000 (19:10 +0100)
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.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Saravana Kannan <saravanak@google.com>
Link: https://lore.kernel.org/r/20201121020232.908850-6-saravanak@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/of/platform.c

index b557a0f..79bd5f5 100644 (file)
@@ -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;
 }