]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
media: tegra: nvavp: fix VDE is on after lp0 cycle
authorAllen Yu <alleny@nvidia.com>
Mon, 10 Mar 2014 11:42:30 +0000 (19:42 +0800)
committerAllen Yu <alleny@nvidia.com>
Fri, 14 Mar 2014 02:36:16 +0000 (19:36 -0700)
VDE is unpowergated in nvavp suspend callback, which leads
to VDE power always on after first lp0 cycle.

Remove the unnecessary unpowergate statesment which is left
over by history to avoid wakeup issue.

Bug 1455975

Change-Id: I1f141cad60adffee048b43c3e73bee9b678d499d
Signed-off-by: Allen Yu <alleny@nvidia.com>
Reviewed-on: http://git-master/r/379525
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
drivers/media/platform/tegra/nvavp/nvavp_dev.c

index 3eca6d9d8b7ba3658cb381caa6124b6e0c8bcde6..ab39926acbc3c4518b910509171b8532004a55a0 100644 (file)
@@ -2586,11 +2586,6 @@ static int tegra_nvavp_suspend(struct device *dev)
 
        tegra_nvavp_runtime_suspend(dev);
 
-       /* Partition vde has to be left on before suspend for the
-        * device to wakeup on resume
-        */
-       nvavp_unpowergate_vde(nvavp);
-
        mutex_unlock(&nvavp->open_lock);
 
        return 0;