Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 357072
b: refs/heads/master
c: e276f03
h: refs/heads/master
v: v3
  • Loading branch information
Wei Yongjun authored and Mauro Carvalho Chehab committed Dec 21, 2012
1 parent 636a2b1 commit cd2c17e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 4d22f1086d24f61e271e1e84c0c27db4ad495e8f
refs/heads/master: e276f03b4f29fcc54d8e658d5de8dd953e4aef1e
3 changes: 1 addition & 2 deletions trunk/drivers/media/platform/davinci/vpbe_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -791,15 +791,14 @@ static int vpbe_display_g_crop(struct file *file, void *priv,
struct vpbe_device *vpbe_dev = fh->disp_dev->vpbe_dev;
struct osd_state *osd_device = fh->disp_dev->osd_device;
struct v4l2_rect *rect = &crop->c;
int ret;

v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev,
"VIDIOC_G_CROP, layer id = %d\n",
layer->device_id);

if (crop->type != V4L2_BUF_TYPE_VIDEO_OUTPUT) {
v4l2_err(&vpbe_dev->v4l2_dev, "Invalid buf type\n");
ret = -EINVAL;
return -EINVAL;
}
osd_device->ops.get_layer_config(osd_device,
layer->layer_info.id, cfg);
Expand Down

0 comments on commit cd2c17e

Please sign in to comment.