Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 366663
b: refs/heads/master
c: 1517002
h: refs/heads/master
i:
  366661: 1c2f88f
  366659: 8837048
  366655: b218d38
v: v3
  • Loading branch information
Federico Fuga authored and Mauro Carvalho Chehab committed Mar 21, 2013
1 parent 65c78f6 commit f427186
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 01ae72866d31de9291039b6030d021c004f5bfed
refs/heads/master: 15170025ee26946dc61f3c21e54652c6db4a0326
14 changes: 10 additions & 4 deletions trunk/drivers/media/platform/omap/omap_vout.c
Original file line number Diff line number Diff line change
Expand Up @@ -648,9 +648,12 @@ static void omap_vout_isr(void *arg, unsigned int irqstatus)

/* First save the configuration in ovelray structure */
ret = omapvid_init(vout, addr);
if (ret)
if (ret) {
printk(KERN_ERR VOUT_NAME
"failed to set overlay info\n");
goto vout_isr_err;
}

/* Enable the pipeline and set the Go bit */
ret = omapvid_apply_changes(vout);
if (ret)
Expand Down Expand Up @@ -1660,13 +1663,16 @@ static int vidioc_streamon(struct file *file, void *fh, enum v4l2_buf_type i)
mask = DISPC_IRQ_VSYNC | DISPC_IRQ_EVSYNC_EVEN | DISPC_IRQ_EVSYNC_ODD
| DISPC_IRQ_VSYNC2;

omap_dispc_register_isr(omap_vout_isr, vout, mask);

/* First save the configuration in ovelray structure */
ret = omapvid_init(vout, addr);
if (ret)
if (ret) {
v4l2_err(&vout->vid_dev->v4l2_dev,
"failed to set overlay info\n");
goto streamon_err1;
}

omap_dispc_register_isr(omap_vout_isr, vout, mask);

/* Enable the pipeline and set the Go bit */
ret = omapvid_apply_changes(vout);
if (ret)
Expand Down

0 comments on commit f427186

Please sign in to comment.