summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.34-hack-to-fix-aava-camera-sensor-issue.patch
diff options
context:
space:
mode:
authorSaul Wold <Saul.Wold@intel.com>2010-09-24 15:36:24 -0700
committerSaul Wold <Saul.Wold@intel.com>2010-09-24 16:43:21 -0700
commit239a368d5715d8f5b7733f9400339c2350c49369 (patch)
tree2953f12b45e590d9e14b6f72f8e4ee7188e41508 /meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.34-hack-to-fix-aava-camera-sensor-issue.patch
parentc5b9525263dac6844d152e40acf8cee4d27b60bc (diff)
downloadpoky-239a368d5715d8f5b7733f9400339c2350c49369.tar.gz
netbook: Correct netbook build by moving netbook configuration from moblin to meta
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
Diffstat (limited to 'meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.34-hack-to-fix-aava-camera-sensor-issue.patch')
-rw-r--r--meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.34-hack-to-fix-aava-camera-sensor-issue.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.34-hack-to-fix-aava-camera-sensor-issue.patch b/meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.34-hack-to-fix-aava-camera-sensor-issue.patch
new file mode 100644
index 0000000000..c7e1a5372e
--- /dev/null
+++ b/meta/recipes-kernel/linux/linux-netbook-2.6.33.2/linux-2.6.34-hack-to-fix-aava-camera-sensor-issue.patch
@@ -0,0 +1,30 @@
1From 67b3a2d6716bfa9d308b26729a2cdeeffb6e8218 Mon Sep 17 00:00:00 2001
2From: Prajwal Mohan <prajwal.karur.mohan@intel.com>
3Date: Thu, 13 May 2010 16:39:43 -0700
4Subject: [PATCH] dirty hack to fix aava camera sensor issue
5
6Signed-off-by: Prajwal Mohan <prajwal.karur.mohan@intel.com>
7Patch-mainline: 2.6.34
8---
9 drivers/media/video/mrstci/mrstov2650/mrstov2650.c | 4 ++++
10 1 files changed, 4 insertions(+), 0 deletions(-)
11
12diff --git a/drivers/media/video/mrstci/mrstov2650/mrstov2650.c b/drivers/media/video/mrstci/mrstov2650/mrstov2650.c
13index 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--
291.6.2.5
30