diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2011-11-14 10:34:54 +0200 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:50:01 -0800 |
commit | 3408194ee7d1aca2f9955c5c795a1df261c2234d (patch) | |
tree | 89e0c449f3667d0b183fbadfe642d409d4a0bfec /drivers/video/tegra/host/nvhost_acm.c | |
parent | 5e4b90e16dbc27ae47cec9638f971f69b3126e64 (diff) |
video: tegra: host: Reset modules at boot-up
tegra_unpowergate_partition() either turns partition on, or resets
partition if the power is already on. do_unpowergate() avoided calling
tegra_unpowergate_partition() if power is already on. Some modules
require a reset at boot-up, so now we call tegra_unpowergate_partition()
even when the module is already powered.
Bug 901335
Change-Id: Ia1ae49d5ddc626204aa405521d5178bdde6079eb
Reviewed-on: http://git-master/r/64052
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Rebase-Id: Rdeabf4280e10b06f1da655db1ff63e6f6bd0ea72
Diffstat (limited to 'drivers/video/tegra/host/nvhost_acm.c')
-rw-r--r-- | drivers/video/tegra/host/nvhost_acm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/tegra/host/nvhost_acm.c b/drivers/video/tegra/host/nvhost_acm.c index 3ea1e7445f10..096864077b3c 100644 --- a/drivers/video/tegra/host/nvhost_acm.c +++ b/drivers/video/tegra/host/nvhost_acm.c @@ -52,7 +52,7 @@ static void do_powergate(int id) static void do_unpowergate(int id) { - if (id != -1 && !tegra_powergate_is_powered(id)) + if (id != -1) tegra_unpowergate_partition(id); } |