summaryrefslogtreecommitdiff
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorSaravana Kannan <saravanak@google.com>2019-12-09 22:31:19 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-10 15:54:05 +0300
commit51ba8b3a0e1ab5240e6ed5b73995d0cf16b05b52 (patch)
treee734aa27bcaaadb0b50f67e6c1f1f534f8d399de /drivers/bluetooth
parente42617b825f8073569da76dc4510bfa019b1c35a (diff)
downloadlinux-51ba8b3a0e1ab5240e6ed5b73995d0cf16b05b52.tar.xz
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> Link: https://lore.kernel.org/r/20191209193119.147056-1-saravanak@google.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/bluetooth')
0 files changed, 0 insertions, 0 deletions