提交 7eb95877 编写于 作者: N Niklas Söderlund 提交者: Mauro Carvalho Chehab

[media] rcar-vin: fix indentation errors in rcar-v4l2.c

Fix broken indentations and line breaks.
Signed-off-by: NNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
上级 0d1c7d60
...@@ -506,8 +506,7 @@ static int rvin_s_dv_timings(struct file *file, void *priv_fh, ...@@ -506,8 +506,7 @@ static int rvin_s_dv_timings(struct file *file, void *priv_fh,
struct v4l2_subdev *sd = vin_to_source(vin); struct v4l2_subdev *sd = vin_to_source(vin);
int err; int err;
err = v4l2_subdev_call(sd, err = v4l2_subdev_call(sd, video, s_dv_timings, timings);
video, s_dv_timings, timings);
if (!err) { if (!err) {
vin->source.width = timings->bt.width; vin->source.width = timings->bt.width;
vin->source.height = timings->bt.height; vin->source.height = timings->bt.height;
...@@ -523,8 +522,7 @@ static int rvin_g_dv_timings(struct file *file, void *priv_fh, ...@@ -523,8 +522,7 @@ static int rvin_g_dv_timings(struct file *file, void *priv_fh,
struct rvin_dev *vin = video_drvdata(file); struct rvin_dev *vin = video_drvdata(file);
struct v4l2_subdev *sd = vin_to_source(vin); struct v4l2_subdev *sd = vin_to_source(vin);
return v4l2_subdev_call(sd, return v4l2_subdev_call(sd, video, g_dv_timings, timings);
video, g_dv_timings, timings);
} }
static int rvin_query_dv_timings(struct file *file, void *priv_fh, static int rvin_query_dv_timings(struct file *file, void *priv_fh,
...@@ -533,8 +531,7 @@ static int rvin_query_dv_timings(struct file *file, void *priv_fh, ...@@ -533,8 +531,7 @@ static int rvin_query_dv_timings(struct file *file, void *priv_fh,
struct rvin_dev *vin = video_drvdata(file); struct rvin_dev *vin = video_drvdata(file);
struct v4l2_subdev *sd = vin_to_source(vin); struct v4l2_subdev *sd = vin_to_source(vin);
return v4l2_subdev_call(sd, return v4l2_subdev_call(sd, video, query_dv_timings, timings);
video, query_dv_timings, timings);
} }
static int rvin_dv_timings_cap(struct file *file, void *priv_fh, static int rvin_dv_timings_cap(struct file *file, void *priv_fh,
...@@ -825,8 +822,7 @@ int rvin_v4l2_probe(struct rvin_dev *vin) ...@@ -825,8 +822,7 @@ int rvin_v4l2_probe(struct rvin_dev *vin)
vin->src_pad_idx = 0; vin->src_pad_idx = 0;
#if defined(CONFIG_MEDIA_CONTROLLER) #if defined(CONFIG_MEDIA_CONTROLLER)
for (pad_idx = 0; pad_idx < sd->entity.num_pads; pad_idx++) for (pad_idx = 0; pad_idx < sd->entity.num_pads; pad_idx++)
if (sd->entity.pads[pad_idx].flags if (sd->entity.pads[pad_idx].flags == MEDIA_PAD_FL_SOURCE)
== MEDIA_PAD_FL_SOURCE)
break; break;
if (pad_idx >= sd->entity.num_pads) if (pad_idx >= sd->entity.num_pads)
return -EINVAL; return -EINVAL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册