summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0043-media-ov490-disable-stats-rows.patch
diff options
context:
space:
mode:
authorVladimir Barinov <vladimir.barinov@cogentembedded.com>2017-07-27 16:19:01 +0300
committerVladimir Barinov <vladimir.barinov@cogentembedded.com>2017-07-27 16:19:01 +0300
commit3b54c5af68a83e0b4b211232f65d73e0c0ded04f (patch)
tree8edddc643db92be6658c6227043fd6e4ce9f547c /meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0043-media-ov490-disable-stats-rows.patch
parent8c94bd9cd068ca1e8bcc685706ebc4a21982d45b (diff)
LVDS: optional compilation for Cogent firmware
This allows to use Cogent generated frimware for LVDS cameras (ov490+0v10640).
Diffstat (limited to 'meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0043-media-ov490-disable-stats-rows.patch')
-rw-r--r--meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0043-media-ov490-disable-stats-rows.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0043-media-ov490-disable-stats-rows.patch b/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0043-media-ov490-disable-stats-rows.patch
new file mode 100644
index 0000000..a1d1f0d
--- /dev/null
+++ b/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0043-media-ov490-disable-stats-rows.patch
@@ -0,0 +1,28 @@
+From 93c918815a618bd799e7c8a40a17da2282c4b23c Mon Sep 17 00:00:00 2001
+From: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
+Date: Wed, 26 Jul 2017 21:03:34 +0300
+Subject: [PATCH] media: ov490: disable stats rows
+
+This is needed if Cogent generated firmware used
+
+Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
+---
+ drivers/media/i2c/soc_camera/ov490_ov10640.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/media/i2c/soc_camera/ov490_ov10640.h b/drivers/media/i2c/soc_camera/ov490_ov10640.h
+index dde81ef..0f5b657 100644
+--- a/drivers/media/i2c/soc_camera/ov490_ov10640.h
++++ b/drivers/media/i2c/soc_camera/ov490_ov10640.h
+@@ -35,7 +35,7 @@ static const struct ov490_reg ov490_regs_wizard[] = {
+ {0x5000, 0x00},
+ {0x5001, 0x30},
+ {0x5002, 0x91},
+-{0x5003, 0x08},
++{0x5003, 0x00},
+ {0xfffe, 0x80},
+ {0x00c0, 0xc1},
+ /* Ov490 FSIN: app_fsin_from_fsync */
+--
+1.9.1
+