diff options
Diffstat (limited to 'extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0034-omap3isp-Fix-Wrong-check-on-non-interlaced-sensor-on.patch')
-rw-r--r-- | extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0034-omap3isp-Fix-Wrong-check-on-non-interlaced-sensor-on.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0034-omap3isp-Fix-Wrong-check-on-non-interlaced-sensor-on.patch b/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0034-omap3isp-Fix-Wrong-check-on-non-interlaced-sensor-on.patch new file mode 100644 index 00000000..6bf18244 --- /dev/null +++ b/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/cam/0034-omap3isp-Fix-Wrong-check-on-non-interlaced-sensor-on.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | From 0cd100387c233429ce2b9c8ceb7a36e900785fce Mon Sep 17 00:00:00 2001 | ||
2 | From: Sergio Aguirre <saaguirre@ti.com> | ||
3 | Date: Fri, 9 Jul 2010 16:56:18 -0500 | ||
4 | Subject: [PATCH 34/75] omap3isp: Fix Wrong check on non-interlaced sensor on isr | ||
5 | |||
6 | Signed-off-by: Sergio Aguirre <saaguirre@ti.com> | ||
7 | --- | ||
8 | drivers/media/video/isp/isp.c | 9 +++++---- | ||
9 | 1 files changed, 5 insertions(+), 4 deletions(-) | ||
10 | |||
11 | diff --git a/drivers/media/video/isp/isp.c b/drivers/media/video/isp/isp.c | ||
12 | index 29dd005..2ef2d58 100644 | ||
13 | --- a/drivers/media/video/isp/isp.c | ||
14 | +++ b/drivers/media/video/isp/isp.c | ||
15 | @@ -978,11 +978,12 @@ static irqreturn_t omap34xx_isp_isr(int irq, void *_pdev) | ||
16 | } | ||
17 | |||
18 | if (irqstatus & CCDC_VD0) { | ||
19 | - if (isp->pipeline.pix.field == V4L2_FIELD_INTERLACED) { | ||
20 | + if (((isp->pipeline.pix.field == V4L2_FIELD_INTERLACED) && | ||
21 | + (isp->current_field != 0)) || | ||
22 | + (isp->pipeline.pix.field != V4L2_FIELD_INTERLACED)) { | ||
23 | /* Skip even fields, and process only odd fields */ | ||
24 | - if (isp->current_field != 0) | ||
25 | - if (RAW_CAPTURE(isp)) | ||
26 | - isp_buf_process(dev, bufs); | ||
27 | + if (RAW_CAPTURE(isp)) | ||
28 | + isp_buf_process(dev, bufs); | ||
29 | } | ||
30 | if (!ispccdc_busy(&isp->isp_ccdc)) | ||
31 | ispccdc_config_shadow_registers(&isp->isp_ccdc); | ||
32 | -- | ||
33 | 1.6.6.1 | ||
34 | |||