]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: Sync hwmod state with the pm_runtime and omap_device state
authorRajendra Nayak <rnayak@ti.com>
Mon, 29 Jul 2013 05:01:51 +0000 (23:01 -0600)
committerPaul Walmsley <paul@pwsan.com>
Tue, 30 Jul 2013 11:13:36 +0000 (05:13 -0600)
commiteb0ee020889f99841b4d89dde48be4a3f88b0524
tree520d23552c2633dc22b6684d2d2a75ee07384d9c
parentfd79adbce08564d609157e0e3efa9e7b37d5cc97
ARM: OMAP2+: Sync hwmod state with the pm_runtime and omap_device state

Some hwmods which are marked with HWMOD_INIT_NO_IDLE are left in enabled
state post setup(). When a omap_device gets created for such hwmods
make sure the omap_device and pm_runtime states are also in sync for such
hwmods by doing a omap_device_enable() and pm_runtime_set_active() for the
device.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Tested-by: Mark Jackson <mpfj-list@newflow.co.uk>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_device.c