ARM: keystone: Make PM bus ready before populating platform devices
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Sat, 23 Nov 2013 22:08:03 +0000 (17:08 -0500)
committerSantosh Shilimkar <santosh.shilimkar@ti.com>
Mon, 16 Dec 2013 21:03:36 +0000 (16:03 -0500)
Keystone PM bus makes use of generic PM clock core backend. Since
generic PM clock core uses platform bus notifiers to track events like
ADD_DEVICE/DEL_DEVICE and to fill clock lists per each device, we need
to initialise Keystone PM domains before the platform devices have been
created.

Hence, fix it by moving keystone_pm_runtime_init() before platform
devices have been populated.

Reported-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>

No differences found