diff options
author | Daeseok Youn <daeseok.youn@gmail.com> | 2017-03-15 14:55:29 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-16 11:24:08 +0900 |
commit | 2217f7849a0c0fb701731030572ee2a57fd4b354 (patch) | |
tree | b9b5cacb1c58d5436c41fed166652222f39d10fc /drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c | |
parent | 1fe996642108d44c3e649640850e709724f9f311 (diff) |
staging: atomisp: fix inconsistent indenting
Fix warnings from the smatch tool
atomisp_cmd.c:5698
atomisp_set_fmt_to_snr() warn: inconsistent indenting
atomisp_cmd.c:5714
atomisp_set_fmt_to_snr() warn: inconsistent indenting
Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c')
-rw-r--r-- | drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c index 9c3ba11c408f..616011987670 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c +++ b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c @@ -5693,7 +5693,7 @@ static int atomisp_set_fmt_to_snr(struct video_device *vdev, /* Disable dvs if resolution can't be supported by sensor */ if (asd->params.video_dis_en && source_pad == ATOMISP_SUBDEV_PAD_SOURCE_VIDEO) { - vformat.which = V4L2_SUBDEV_FORMAT_TRY; + vformat.which = V4L2_SUBDEV_FORMAT_TRY; ret = v4l2_subdev_call(isp->inputs[asd->input_curr].camera, pad, set_fmt, &pad_cfg, &vformat); if (ret) @@ -5710,7 +5710,7 @@ static int atomisp_set_fmt_to_snr(struct video_device *vdev, } dev_dbg(isp->dev, "sensor width: %d, height: %d\n", ffmt->width, ffmt->height); - vformat.which = V4L2_SUBDEV_FORMAT_ACTIVE; + vformat.which = V4L2_SUBDEV_FORMAT_ACTIVE; ret = v4l2_subdev_call(isp->inputs[asd->input_curr].camera, pad, set_fmt, NULL, &vformat); if (ret) |