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

Staging: cx25821: Change indent with spaces to tabs 23

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 70e7f145
...@@ -1358,14 +1358,14 @@ int cx25821_vidioc_s_frequency(struct file *file, void *priv, ...@@ -1358,14 +1358,14 @@ int cx25821_vidioc_s_frequency(struct file *file, void *priv,
int err; int err;
if (fh) { if (fh) {
dev = fh->dev; dev = fh->dev;
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;
} else { } else {
pr_err("Invalid fh pointer!\n"); pr_err("Invalid fh pointer!\n");
return -EINVAL; return -EINVAL;
} }
return cx25821_set_freq(dev, f); return cx25821_set_freq(dev, f);
...@@ -1427,8 +1427,8 @@ int cx25821_vidioc_s_tuner(struct file *file, void *priv, struct v4l2_tuner *t) ...@@ -1427,8 +1427,8 @@ int cx25821_vidioc_s_tuner(struct file *file, void *priv, struct v4l2_tuner *t)
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;
} }
...@@ -1527,7 +1527,7 @@ int cx25821_vidioc_g_ctrl(struct file *file, void *priv, ...@@ -1527,7 +1527,7 @@ int cx25821_vidioc_g_ctrl(struct file *file, void *priv,
struct v4l2_control *ctl) struct v4l2_control *ctl)
{ {
struct cx25821_dev *dev = ((struct cx25821_fh *)priv)->dev; struct cx25821_dev *dev = ((struct cx25821_fh *)priv)->dev;
struct cx25821_fh *fh = priv; struct cx25821_fh *fh = priv;
const struct v4l2_queryctrl *ctrl; const struct v4l2_queryctrl *ctrl;
...@@ -1537,16 +1537,16 @@ int cx25821_vidioc_g_ctrl(struct file *file, void *priv, ...@@ -1537,16 +1537,16 @@ int cx25821_vidioc_g_ctrl(struct file *file, void *priv,
return -EINVAL; return -EINVAL;
switch (ctl->id) { switch (ctl->id) {
case V4L2_CID_BRIGHTNESS: case V4L2_CID_BRIGHTNESS:
ctl->value = dev->channels[fh->channel_id].ctl_bright; ctl->value = dev->channels[fh->channel_id].ctl_bright;
break; break;
case V4L2_CID_HUE: case V4L2_CID_HUE:
ctl->value = dev->channels[fh->channel_id].ctl_hue; ctl->value = dev->channels[fh->channel_id].ctl_hue;
break; break;
case V4L2_CID_CONTRAST: case V4L2_CID_CONTRAST:
ctl->value = dev->channels[fh->channel_id].ctl_contrast; ctl->value = dev->channels[fh->channel_id].ctl_contrast;
break; break;
case V4L2_CID_SATURATION: case V4L2_CID_SATURATION:
ctl->value = dev->channels[fh->channel_id].ctl_saturation; ctl->value = dev->channels[fh->channel_id].ctl_saturation;
break; break;
} }
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