diff options
author | Sumit Semwal <sumit.semwal@ti.com> | 2009-11-10 15:36:50 -0600 |
---|---|---|
committer | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2009-11-11 04:33:01 +0530 |
commit | 050c73cf9f84c74e78b5f9ca3b9a5a17febdc8b9 (patch) | |
tree | 332b232b23b9a2e60b3bc6d45501bf977e09e91c /drivers | |
parent | 0f29e1bee41516c36916e8de2a5bb8f2f488bbf6 (diff) |
OMAP4: V4L2: spurious IRQs on LCD1: workaround: don't request VSYNC.
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/omap/omap_vout.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/drivers/media/video/omap/omap_vout.c b/drivers/media/video/omap/omap_vout.c index 6bab4cb933eb..16b73f6d10dc 100644 --- a/drivers/media/video/omap/omap_vout.c +++ b/drivers/media/video/omap/omap_vout.c @@ -1548,9 +1548,12 @@ static int omap_vout_release(struct file *file) freeing allocated memeory */ if (vout->streaming) { u32 mask = 0; - +#if 0 mask = DISPC_IRQ_VSYNC | DISPC_IRQ_EVSYNC_EVEN | DISPC_IRQ_EVSYNC_ODD; +#else + mask = DISPC_IRQ_EVSYNC_EVEN | DISPC_IRQ_EVSYNC_ODD; +#endif omap_dispc_unregister_isr(omap_vout_isr, vout, mask); vout->streaming = 0; @@ -2272,8 +2275,12 @@ static int vidioc_streamon(struct file *file, void *fh, uv_addr = (unsigned long) vout->queued_buf_uv_addr[vout->cur_frm->i]; /* OMAP4: check if cropped_offset is needed? */ +#if 0 mask = DISPC_IRQ_VSYNC | DISPC_IRQ_EVSYNC_EVEN | DISPC_IRQ_EVSYNC_ODD; +#else + mask = DISPC_IRQ_EVSYNC_EVEN | DISPC_IRQ_EVSYNC_ODD; +#endif omap_dispc_register_isr(omap_vout_isr, vout, mask); @@ -2315,8 +2322,12 @@ static int vidioc_streamoff(struct file *file, void *fh, return -EINVAL; vout->streaming = 0; +#if 0 mask = DISPC_IRQ_VSYNC | DISPC_IRQ_EVSYNC_EVEN | DISPC_IRQ_EVSYNC_ODD; +#else + mask = DISPC_IRQ_EVSYNC_EVEN | DISPC_IRQ_EVSYNC_ODD; +#endif omap_dispc_unregister_isr(omap_vout_isr, vout, mask); |