Staging: cx25821: Change indent with spaces to tabs 18
Change indent with spaces to tabs. Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a39bea3a4e
commit
255c040a42
@@ -1000,21 +1000,21 @@ static int vidioc_s_fmt_vid_cap(struct file *file, void *priv,
|
|||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
dprintk(2, "%s()\n", __func__);
|
dprintk(2, "%s()\n", __func__);
|
||||||
err = cx25821_vidioc_try_fmt_vid_cap(file, priv, f);
|
err = cx25821_vidioc_try_fmt_vid_cap(file, priv, f);
|
||||||
|
|
||||||
if (0 != err)
|
if (0 != err)
|
||||||
return err;
|
return err;
|
||||||
|
|
||||||
fh->fmt = cx25821_format_by_fourcc(f->fmt.pix.pixelformat);
|
fh->fmt = cx25821_format_by_fourcc(f->fmt.pix.pixelformat);
|
||||||
fh->vidq.field = f->fmt.pix.field;
|
fh->vidq.field = f->fmt.pix.field;
|
||||||
|
|
||||||
/* check if width and height is valid based on set standard */
|
/* check if width and height is valid based on set standard */
|
||||||
if (cx25821_is_valid_width(f->fmt.pix.width, dev->tvnorm))
|
if (cx25821_is_valid_width(f->fmt.pix.width, dev->tvnorm))
|
||||||
fh->width = f->fmt.pix.width;
|
fh->width = f->fmt.pix.width;
|
||||||
|
|
||||||
if (cx25821_is_valid_height(f->fmt.pix.height, dev->tvnorm))
|
if (cx25821_is_valid_height(f->fmt.pix.height, dev->tvnorm))
|
||||||
fh->height = f->fmt.pix.height;
|
fh->height = f->fmt.pix.height;
|
||||||
|
|
||||||
if (f->fmt.pix.pixelformat == V4L2_PIX_FMT_Y41P)
|
if (f->fmt.pix.pixelformat == V4L2_PIX_FMT_Y41P)
|
||||||
pix_format = PIXEL_FRMT_411;
|
pix_format = PIXEL_FRMT_411;
|
||||||
|
Reference in New Issue
Block a user