video: tegra: host: correct runtime pm callback registeration
authorMayuresh Kulkarni <mkulkarni@nvidia.com>
Wed, 10 Jul 2013 09:47:21 +0000 (14:47 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:31:46 +0000 (13:31 -0700)
commit133f014cf2990f820a3c2d558bd21470f8405672
tree94c2a616c862aae39ff9381bdbbcc36cb71b77f0
parent33663762b4e3058a2c6334b68950798aaf15e36e
video: tegra: host: correct runtime pm callback registeration

register runtime pm callbacks in following conditions:
- when pm domain is not enabled in kernel config
- when module doesn't have power partition in hardware
and hence doesn't not support power domain

this ensures that pm domain call-backs are given priority
when enabled & runtime pm call-backs are given priority
when disabled

Change-Id: I2a7669a8511aec4ea9c29a0cc44d45b8e86d1afd
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/247095
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
drivers/video/tegra/host/isp/isp.c
drivers/video/tegra/host/nvhost_acm.c
drivers/video/tegra/host/vi/vi.c