Commit 7eb95877 authored by Niklas Söderlund's avatar Niklas Söderlund Committed by Mauro Carvalho Chehab

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

Fix broken indentations and line breaks.
Signed-off-by: default avatarNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment