Commit 8a911ed9 authored by Leonid V. Fedorenchik's avatar Leonid V. Fedorenchik Committed by Greg Kroah-Hartman

Staging: cx25821: Change indent with spaces to tabs 24

Change indent with spaces to tabs.
Signed-off-by: default avatarLeonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent e0b871bd
...@@ -1580,19 +1580,19 @@ int cx25821_set_control(struct cx25821_dev *dev, ...@@ -1580,19 +1580,19 @@ int cx25821_set_control(struct cx25821_dev *dev,
switch (ctl->id) { switch (ctl->id) {
case V4L2_CID_BRIGHTNESS: case V4L2_CID_BRIGHTNESS:
dev->channels[chan_num].ctl_bright = ctl->value; dev->channels[chan_num].ctl_bright = ctl->value;
medusa_set_brightness(dev, ctl->value, chan_num); medusa_set_brightness(dev, ctl->value, chan_num);
break; break;
case V4L2_CID_HUE: case V4L2_CID_HUE:
dev->channels[chan_num].ctl_hue = ctl->value; dev->channels[chan_num].ctl_hue = ctl->value;
medusa_set_hue(dev, ctl->value, chan_num); medusa_set_hue(dev, ctl->value, chan_num);
break; break;
case V4L2_CID_CONTRAST: case V4L2_CID_CONTRAST:
dev->channels[chan_num].ctl_contrast = ctl->value; dev->channels[chan_num].ctl_contrast = ctl->value;
medusa_set_contrast(dev, ctl->value, chan_num); medusa_set_contrast(dev, ctl->value, chan_num);
break; break;
case V4L2_CID_SATURATION: case V4L2_CID_SATURATION:
dev->channels[chan_num].ctl_saturation = ctl->value; dev->channels[chan_num].ctl_saturation = ctl->value;
medusa_set_saturation(dev, ctl->value, chan_num); medusa_set_saturation(dev, ctl->value, chan_num);
break; break;
} }
...@@ -1625,9 +1625,9 @@ int cx25821_vidioc_cropcap(struct file *file, void *priv, ...@@ -1625,9 +1625,9 @@ int cx25821_vidioc_cropcap(struct file *file, void *priv,
cropcap->bounds.width = 720; cropcap->bounds.width = 720;
cropcap->bounds.height = dev->tvnorm == V4L2_STD_PAL_BG ? 576 : 480; cropcap->bounds.height = dev->tvnorm == V4L2_STD_PAL_BG ? 576 : 480;
cropcap->pixelaspect.numerator = cropcap->pixelaspect.numerator =
dev->tvnorm == V4L2_STD_PAL_BG ? 59 : 10; dev->tvnorm == V4L2_STD_PAL_BG ? 59 : 10;
cropcap->pixelaspect.denominator = cropcap->pixelaspect.denominator =
dev->tvnorm == V4L2_STD_PAL_BG ? 54 : 11; dev->tvnorm == V4L2_STD_PAL_BG ? 54 : 11;
cropcap->defrect = cropcap->bounds; cropcap->defrect = cropcap->bounds;
return 0; return 0;
} }
...@@ -1639,24 +1639,24 @@ int cx25821_vidioc_s_crop(struct file *file, void *priv, struct v4l2_crop *crop) ...@@ -1639,24 +1639,24 @@ int cx25821_vidioc_s_crop(struct file *file, void *priv, struct v4l2_crop *crop)
int err; int err;
if (fh) { if (fh) {
err = v4l2_prio_check(&dev->channels[fh->channel_id]. err = v4l2_prio_check(&dev->channels[fh->channel_id].prio,
prio, fh->prio); fh->prio);
if (0 != err) if (0 != err)
return err; return err;
} }
/* cx25821_vidioc_s_crop not supported */ /* cx25821_vidioc_s_crop not supported */
return -EINVAL; return -EINVAL;
} }
int cx25821_vidioc_g_crop(struct file *file, void *priv, struct v4l2_crop *crop) int cx25821_vidioc_g_crop(struct file *file, void *priv, struct v4l2_crop *crop)
{ {
/* cx25821_vidioc_g_crop not supported */ /* cx25821_vidioc_g_crop not supported */
return -EINVAL; return -EINVAL;
} }
int cx25821_vidioc_querystd(struct file *file, void *priv, v4l2_std_id * norm) int cx25821_vidioc_querystd(struct file *file, void *priv, v4l2_std_id * norm)
{ {
/* medusa does not support video standard sensing of current input */ /* medusa does not support video standard sensing of current input */
*norm = CX25821_NORMS; *norm = CX25821_NORMS;
return 0; return 0;
......
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