Skip to content

Commit

Permalink
Staging: cx25821: Change indent with spaces to tabs 15
Browse files Browse the repository at this point in the history
Change indent with spaces to tabs.

Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Leonid V. Fedorenchik authored and Greg Kroah-Hartman committed Sep 16, 2011
1 parent 21377cd commit 3f3d9e4
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions drivers/staging/cx25821/cx25821-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -949,20 +949,20 @@ static int video_release(struct file *file)

static int vidioc_streamon(struct file *file, void *priv, enum v4l2_buf_type i)
{
struct cx25821_fh *fh = priv;
struct cx25821_dev *dev = fh->dev;
struct cx25821_fh *fh = priv;
struct cx25821_dev *dev = fh->dev;

if (unlikely(fh->type != V4L2_BUF_TYPE_VIDEO_CAPTURE))
return -EINVAL;
if (unlikely(fh->type != V4L2_BUF_TYPE_VIDEO_CAPTURE))
return -EINVAL;

if (unlikely(i != fh->type))
return -EINVAL;
if (unlikely(i != fh->type))
return -EINVAL;

if (unlikely(!cx25821_res_get(dev, fh,
cx25821_get_resource(fh, RESOURCE_VIDEO0))))
return -EBUSY;
if (unlikely(!cx25821_res_get(dev, fh, cx25821_get_resource(fh,
RESOURCE_VIDEO0))))
return -EBUSY;

return videobuf_streamon(get_queue(fh));
return videobuf_streamon(get_queue(fh));
}

static int vidioc_streamoff(struct file *file, void *priv, enum v4l2_buf_type i)
Expand Down

0 comments on commit 3f3d9e4

Please sign in to comment.