summaryrefslogtreecommitdiffstats
path: root/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0035-omap3isp-Fix-bad-YUV_BT-checks-in-datapath_config.patch
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2012-06-11 20:44:56 -0400
committerDenys Dmytriyenko <denys@ti.com>2012-06-11 20:44:56 -0400
commit88867c1d96684925027a0ecc9e25c6ea70040cc6 (patch)
treee1ad8651aa7663850f6dc1108b278f56a2b92a91 /extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0035-omap3isp-Fix-bad-YUV_BT-checks-in-datapath_config.patch
parenta1e2573369c6714956af561523ba274aa9c185f7 (diff)
downloadmeta-ti-88867c1d96684925027a0ecc9e25c6ea70040cc6.tar.gz
extras: move things to extrassplit
Move non-essential, outdated, best-effort pieces, as well, as those requiring extra non-standard dependencies besides oe-core. Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0035-omap3isp-Fix-bad-YUV_BT-checks-in-datapath_config.patch')
-rw-r--r--extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0035-omap3isp-Fix-bad-YUV_BT-checks-in-datapath_config.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0035-omap3isp-Fix-bad-YUV_BT-checks-in-datapath_config.patch b/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0035-omap3isp-Fix-bad-YUV_BT-checks-in-datapath_config.patch
new file mode 100644
index 00000000..e0be1a82
--- /dev/null
+++ b/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0035-omap3isp-Fix-bad-YUV_BT-checks-in-datapath_config.patch
@@ -0,0 +1,45 @@
1From d9c512d63c23d8f60e897357263bef4668660b13 Mon Sep 17 00:00:00 2001
2From: Sergio Aguirre <saaguirre@ti.com>
3Date: Sat, 10 Jul 2010 09:51:16 -0500
4Subject: [PATCH 35/75] omap3isp: Fix bad YUV_BT checks in datapath_config
5
6The use of an external write enable signals (from ISP point of
7view) shouldn't depend on the sensor parallel interface type.
8
9Also, the bit shift selection should NOT be other than 9_0 by
10default (i.e. No shift).
11
12Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
13---
14 drivers/media/video/isp/ispccdc.c | 15 +++++----------
15 1 files changed, 5 insertions(+), 10 deletions(-)
16
17diff --git a/drivers/media/video/isp/ispccdc.c b/drivers/media/video/isp/ispccdc.c
18index 137a5e6..ea6d87c 100644
19--- a/drivers/media/video/isp/ispccdc.c
20+++ b/drivers/media/video/isp/ispccdc.c
21@@ -602,16 +602,11 @@ static int ispccdc_config_datapath(struct isp_ccdc_device *isp_ccdc,
22 syn_mode &= ~ISPCCDC_SYN_MODE_VP2SDR;
23 syn_mode &= ~ISPCCDC_SYN_MODE_SDR2RSZ;
24 syn_mode |= ISPCCDC_SYN_MODE_WEN;
25- if (pipe->ccdc_in == CCDC_YUV_BT) {
26- syn_mode &= ~ISPCCDC_SYN_MODE_EXWEN;
27- isp_reg_and(isp_ccdc->dev, OMAP3_ISP_IOMEM_CCDC,
28- ISPCCDC_CFG, ~ISPCCDC_CFG_WENLOG);
29- } else {
30- syn_mode |= ISPCCDC_SYN_MODE_EXWEN;
31- isp_reg_or(isp_ccdc->dev, OMAP3_ISP_IOMEM_CCDC,
32- ISPCCDC_CFG, ISPCCDC_CFG_WENLOG);
33- }
34- vpcfg.bitshift_sel = BIT11_2;
35+ syn_mode &= ~ISPCCDC_SYN_MODE_EXWEN;
36+
37+ isp_reg_and(isp_ccdc->dev, OMAP3_ISP_IOMEM_CCDC,
38+ ISPCCDC_CFG, ~ISPCCDC_CFG_WENLOG);
39+ vpcfg.bitshift_sel = BIT9_0;
40 vpcfg.freq_sel = PIXCLKBY2;
41 ispccdc_config_vp(isp_ccdc, vpcfg);
42 ispccdc_enable_vp(isp_ccdc, 0);
43--
441.6.6.1
45