msm: vidc: Determine the max supported load from device tree

Read the "qcom,max-load" parameter from the device tree to determine the
max support load for each target.  This allows us to do away with
the hardcoded max load with in the driver.

Change-Id: I9e874624b9209b53c7bd6d0524dd2c1314b485cb
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
diff --git a/arch/arm/mach-msm/devices-8960.c b/arch/arm/mach-msm/devices-8960.c
index 24b579f..f04be19 100644
--- a/arch/arm/mach-msm/devices-8960.c
+++ b/arch/arm/mach-msm/devices-8960.c
@@ -1093,6 +1093,7 @@
 	.num_iommu_table = 2,
 	.load_table = vidc_v4l2_load_table,
 	.num_load_table = 2,
+	.max_load = 800*480*30/256,
 };
 
 struct platform_device msm_device_vidc_v4l2 = {