|
@@ -943,12 +943,11 @@ static int vpfe_g_fmt_vid_cap(struct file *file, void *priv,
|
|
|
struct v4l2_format *fmt)
|
|
struct v4l2_format *fmt)
|
|
|
{
|
|
{
|
|
|
struct vpfe_device *vpfe_dev = video_drvdata(file);
|
|
struct vpfe_device *vpfe_dev = video_drvdata(file);
|
|
|
- int ret = 0;
|
|
|
|
|
|
|
|
|
|
v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_g_fmt_vid_cap\n");
|
|
v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_g_fmt_vid_cap\n");
|
|
|
/* Fill in the information about format */
|
|
/* Fill in the information about format */
|
|
|
*fmt = vpfe_dev->fmt;
|
|
*fmt = vpfe_dev->fmt;
|
|
|
- return ret;
|
|
|
|
|
|
|
+ return 0;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
static int vpfe_enum_fmt_vid_cap(struct file *file, void *priv,
|
|
static int vpfe_enum_fmt_vid_cap(struct file *file, void *priv,
|