OMAP1: PM: register notifiers with generic clock ops even when !PM_RUNTIME
authorKevin Hilman <khilman@ti.com>
Tue, 14 Jun 2011 12:53:18 +0000 (05:53 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 14 Jun 2011 12:53:18 +0000 (05:53 -0700)
When runtime PM is disabled, device clocks need to be enabled on
device add and disabled on device remove.  This currently is not
happening because in the !PM_RUNTIME case, no notifiers are registered
for OMAP1 devices.

Fix this by ensuring notifiers are registered, even in the !PM_RUNTIME case.

Reported-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Tested-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found