]> code.ossystems Code Review - openembedded-core.git/blob
c7e1a5372ee9cb4918d9e8fd5f458c6ce70a8067
[openembedded-core.git] /
1 From 67b3a2d6716bfa9d308b26729a2cdeeffb6e8218 Mon Sep 17 00:00:00 2001
2 From: Prajwal Mohan <prajwal.karur.mohan@intel.com>
3 Date: Thu, 13 May 2010 16:39:43 -0700
4 Subject: [PATCH] dirty hack to fix aava camera sensor issue
5
6 Signed-off-by: Prajwal Mohan <prajwal.karur.mohan@intel.com>
7 Patch-mainline: 2.6.34
8 ---
9  drivers/media/video/mrstci/mrstov2650/mrstov2650.c |    4 ++++
10  1 files changed, 4 insertions(+), 0 deletions(-)
11
12 diff --git a/drivers/media/video/mrstci/mrstov2650/mrstov2650.c b/drivers/media/video/mrstci/mrstov2650/mrstov2650.c
13 index 7f0d478..ce24139 100644
14 --- a/drivers/media/video/mrstci/mrstov2650/mrstov2650.c
15 +++ b/drivers/media/video/mrstci/mrstov2650/mrstov2650.c
16 @@ -1111,7 +1111,11 @@ static int ov2650_detect(struct i2c_client *client)
17         ov2650_wakeup();
18  
19         ov2650_read(client, OV2650_PID_L, &value);
20 +       #ifdef CONFIG_MRST_DRM_AAVA
21 +       if (value != 0x66)
22 +       #else
23         if (value != 0x52)
24 +       #endif
25                 return -ENODEV;
26  
27         return 0;
28 -- 
29 1.6.2.5
30