summaryrefslogtreecommitdiff
path: root/drivers/media/video
diff options
context:
space:
mode:
authorPrashant Gaikwad <pgaikwad@nvidia.com>2012-02-06 17:22:08 +0530
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-02-16 07:07:44 -0800
commitee94b6b4952bcf912a306d7416c90f0f259a98a7 (patch)
tree945b9ba88e1096f5c7d53938b924866c7cf5e9cd /drivers/media/video
parent55be8e2cc2517370f47a9d09efdeb463090018cf (diff)
media: video: tegra: Set EMC rate to max when VDE is enabled
Do not set EMC rate to minimum when module other than VDE is enabled. This reverts the max rate set when VDE was enabled if VDE is still enabled. Bug 930230 Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com> (cherry picked from commit 692291955e650c87b7cf6ecac03df2ef0445609d) Change-Id: Ief0e1d6116f064ba09b17ba01c7df0dc7905e0a0 Reviewed-on: http://git-master/r/84057 Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com> Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/tegra/avp/avp_svc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/tegra/avp/avp_svc.c b/drivers/media/video/tegra/avp/avp_svc.c
index 4d2d1b369291..f74173a107c0 100644
--- a/drivers/media/video/tegra/avp/avp_svc.c
+++ b/drivers/media/video/tegra/avp/avp_svc.c
@@ -362,8 +362,6 @@ static void do_svc_module_clock(struct avp_svc_info *avp_svc,
if (msg->module_id == AVP_MODULE_ID_VDE)
emc_rate = ULONG_MAX;
- else
- emc_rate = 0;
mutex_lock(&avp_svc->clk_lock);
aclk = &avp_svc->clks[mod->clk_req];