[media] rcar-vin: fix indentation errors in rcar-v4l2.c
Fix broken indentations and line breaks. Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
0d1c7d60c2
commit
7eb95877a0
|
@ -506,8 +506,7 @@ static int rvin_s_dv_timings(struct file *file, void *priv_fh,
|
|||
struct v4l2_subdev *sd = vin_to_source(vin);
|
||||
int err;
|
||||
|
||||
err = v4l2_subdev_call(sd,
|
||||
video, s_dv_timings, timings);
|
||||
err = v4l2_subdev_call(sd, video, s_dv_timings, timings);
|
||||
if (!err) {
|
||||
vin->source.width = timings->bt.width;
|
||||
vin->source.height = timings->bt.height;
|
||||
|
@ -523,8 +522,7 @@ static int rvin_g_dv_timings(struct file *file, void *priv_fh,
|
|||
struct rvin_dev *vin = video_drvdata(file);
|
||||
struct v4l2_subdev *sd = vin_to_source(vin);
|
||||
|
||||
return v4l2_subdev_call(sd,
|
||||
video, g_dv_timings, timings);
|
||||
return v4l2_subdev_call(sd, video, g_dv_timings, timings);
|
||||
}
|
||||
|
||||
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 v4l2_subdev *sd = vin_to_source(vin);
|
||||
|
||||
return v4l2_subdev_call(sd,
|
||||
video, query_dv_timings, timings);
|
||||
return v4l2_subdev_call(sd, video, query_dv_timings, timings);
|
||||
}
|
||||
|
||||
static int rvin_dv_timings_cap(struct file *file, void *priv_fh,
|
||||
|
@ -825,8 +822,7 @@ int rvin_v4l2_probe(struct rvin_dev *vin)
|
|||
vin->src_pad_idx = 0;
|
||||
#if defined(CONFIG_MEDIA_CONTROLLER)
|
||||
for (pad_idx = 0; pad_idx < sd->entity.num_pads; pad_idx++)
|
||||
if (sd->entity.pads[pad_idx].flags
|
||||
== MEDIA_PAD_FL_SOURCE)
|
||||
if (sd->entity.pads[pad_idx].flags == MEDIA_PAD_FL_SOURCE)
|
||||
break;
|
||||
if (pad_idx >= sd->entity.num_pads)
|
||||
return -EINVAL;
|
||||
|
|
Loading…
Reference in New Issue