31 lines
962 B
Diff
31 lines
962 B
Diff
From 67b3a2d6716bfa9d308b26729a2cdeeffb6e8218 Mon Sep 17 00:00:00 2001
|
|
From: Prajwal Mohan <prajwal.karur.mohan@intel.com>
|
|
Date: Thu, 13 May 2010 16:39:43 -0700
|
|
Subject: [PATCH] dirty hack to fix aava camera sensor issue
|
|
|
|
Signed-off-by: Prajwal Mohan <prajwal.karur.mohan@intel.com>
|
|
Patch-mainline: 2.6.34
|
|
---
|
|
drivers/media/video/mrstci/mrstov2650/mrstov2650.c | 4 ++++
|
|
1 files changed, 4 insertions(+), 0 deletions(-)
|
|
|
|
diff --git a/drivers/media/video/mrstci/mrstov2650/mrstov2650.c b/drivers/media/video/mrstci/mrstov2650/mrstov2650.c
|
|
index 7f0d478..ce24139 100644
|
|
--- a/drivers/media/video/mrstci/mrstov2650/mrstov2650.c
|
|
+++ b/drivers/media/video/mrstci/mrstov2650/mrstov2650.c
|
|
@@ -1111,7 +1111,11 @@ static int ov2650_detect(struct i2c_client *client)
|
|
ov2650_wakeup();
|
|
|
|
ov2650_read(client, OV2650_PID_L, &value);
|
|
+ #ifdef CONFIG_MRST_DRM_AAVA
|
|
+ if (value != 0x66)
|
|
+ #else
|
|
if (value != 0x52)
|
|
+ #endif
|
|
return -ENODEV;
|
|
|
|
return 0;
|
|
--
|
|
1.6.2.5
|
|
|