media:video:tegra: adjusting ad5823 value for rev2
Karl Kim [Tue, 25 Jun 2013 02:21:26 +0000 (11:21 +0900)]
settletime / POS_LOW / POS_HIGH value is adjusted by
result of ad5823 charaterization

Bug 1308712

Change-Id: I89c0471f3a49d15e54d0293c6a42f12f2d10edbb
Signed-off-by: Karl Kim <kkim@nvidia.com>
Reviewed-on: http://git-master/r/241635
(cherry picked from commit fabc0b3569d1ad2b21bb910ec074deb470ac617e)
Reviewed-on: http://git-master/r/245956
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

drivers/media/video/tegra/ad5823.c

index d48a3d3..807a773 100644 (file)
@@ -29,8 +29,8 @@
 #include <linux/of_gpio.h>
 #include <media/ad5823.h>
 
-#define POS_LOW                (150)
-#define POS_HIGH       (800)
+#define POS_LOW                (146)
+#define POS_HIGH       (568)
 #define SETTLETIME_MS  (15)
 #define FOCAL_LENGTH   (4.507f)
 #define FNUMBER                (2.8f)