video: tegra: host: Set power state in boot-up
Set correct power state for modules during boot-up. This is done by
splitting nvhost_module_init() into two parts: preinit and init. Preinit
sets correct power state, and is called for all modules during boot-up.
Init calls pre-init and performs the rest of initialization of
nvhost_module structure.
Bug 855755
Reviewed-on: http://git-master/r/62102
(cherry picked from commit 003df5ddd4fcffca9b7456cdb1150cfc041f406c)
Conflicts:
drivers/video/tegra/host/nvhost_acm.c
Change-Id: I807f0c3608b1859bcbd7e8bfcb6ed27d6cdb1a80
Reviewed-on: http://git-master/r/63218
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
3 files changed