UPSTREAM: of/platform: Unconditionally pause/resume sync state during kernel init
Commit 5e6669387e22 ("of/platform: Pause/resume sync state during init
and of_platform_populate()") paused/resumed sync state during init only
if Linux had parsed and populated a devicetree.
However, the check for that (of_have_populated_dt()) can change after
of_platform_default_populate_init() executes. One example of this is
when devicetree unittests are enabled. This causes an unmatched
pause/resume of sync state. To avoid this, just unconditionally
pause/resume sync state during init.
Fixes: 5e6669387e22 ("of/platform: Pause/resume sync state during init and of_platform_populate()")
Reported-by:
kernel test robot <lkp@intel.com>
Signed-off-by:
Saravana Kannan <saravanak@google.com>
Reviewed-by:
Frank Rowand <frowand.list@gmail.com>
Signed-off-by:
Rob Herring <robh@kernel.org>
(cherry picked from commit ee9b280e17dce51c44e1d04d11eb0a4acd0ee1a9)
Signed-off-by:
Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I55cd3767daf785f7c46591fcb9c1f9acbb824540
Loading
Please register or sign in to comment