staging: atomisp: fix inconsistent indenting
authorDaeseok Youn <daeseok.youn@gmail.com>
Wed, 15 Mar 2017 05:55:29 +0000 (14:55 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Mar 2017 02:24:08 +0000 (11:24 +0900)
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>
drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c

index 9c3ba11c408fb6f6ecccc1cabbcc7dff43ca00b9..616011987670e5a2fdd409c77f77c1f27474fb94 100644 (file)
@@ -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)