mirror of
https://github.com/torvalds/linux.git
synced 2024-12-22 10:56:40 +00:00
[media] rcar-vin: reduce indentation in rvin_s_dv_timings()
Align style with the rest of the driver. 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
7eb95877a0
commit
325527a6e8
@ -504,16 +504,18 @@ static int rvin_s_dv_timings(struct file *file, void *priv_fh,
|
||||
{
|
||||
struct rvin_dev *vin = video_drvdata(file);
|
||||
struct v4l2_subdev *sd = vin_to_source(vin);
|
||||
int err;
|
||||
int ret;
|
||||
|
||||
err = v4l2_subdev_call(sd, video, s_dv_timings, timings);
|
||||
if (!err) {
|
||||
vin->source.width = timings->bt.width;
|
||||
vin->source.height = timings->bt.height;
|
||||
vin->format.width = timings->bt.width;
|
||||
vin->format.height = timings->bt.height;
|
||||
}
|
||||
return err;
|
||||
ret = v4l2_subdev_call(sd, video, s_dv_timings, timings);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
vin->source.width = timings->bt.width;
|
||||
vin->source.height = timings->bt.height;
|
||||
vin->format.width = timings->bt.width;
|
||||
vin->format.height = timings->bt.height;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int rvin_g_dv_timings(struct file *file, void *priv_fh,
|
||||
|
Loading…
Reference in New Issue
Block a user