ARM: tegra11: emc: adjust iso efficiency during camera
Jihoon Bang [Wed, 27 Mar 2013 01:51:33 +0000 (18:51 -0700)]
If vi is on, then apply 45% of iso efficiency.
It will help avoid power regression by not asking too
high emc frequency.

Bug 1246180

Change-Id: I0eb74b29f81a99ccdfceb08d56f1b7f231b26d13
Signed-off-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-on: http://git-master/r/213380
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

arch/arm/mach-tegra/tegra11_emc.c

index fcefab0..9926b01 100644 (file)
@@ -1181,7 +1181,7 @@ static struct platform_driver tegra11_emc_driver = {
 
 static struct emc_iso_usage tegra11_emc_iso_usage[] = {
        { BIT(EMC_USER_DC),                     80 },
-       { BIT(EMC_USER_DC) | BIT(EMC_USER_VI),  35 },
+       { BIT(EMC_USER_DC) | BIT(EMC_USER_VI),  45 },
 };
 
 int __init tegra11_emc_init(void)