Staging: cx25821: Change indent with spaces to tabs 12
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
0bf42c9e4f
commit
20e8a366c0
@@ -854,29 +854,29 @@ static int video_open(struct file *file)
|
|||||||
V4L2_FIELD_INTERLACED,
|
V4L2_FIELD_INTERLACED,
|
||||||
sizeof(struct cx25821_buffer), fh, NULL);
|
sizeof(struct cx25821_buffer), fh, NULL);
|
||||||
|
|
||||||
dprintk(1, "post videobuf_queue_init()\n");
|
dprintk(1, "post videobuf_queue_init()\n");
|
||||||
mutex_unlock(&cx25821_devlist_mutex);
|
mutex_unlock(&cx25821_devlist_mutex);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static ssize_t video_read(struct file *file, char __user * data, size_t count,
|
static ssize_t video_read(struct file *file, char __user * data, size_t count,
|
||||||
loff_t *ppos)
|
loff_t *ppos)
|
||||||
{
|
{
|
||||||
struct cx25821_fh *fh = file->private_data;
|
struct cx25821_fh *fh = file->private_data;
|
||||||
|
|
||||||
switch (fh->type) {
|
switch (fh->type) {
|
||||||
case V4L2_BUF_TYPE_VIDEO_CAPTURE:
|
case V4L2_BUF_TYPE_VIDEO_CAPTURE:
|
||||||
if (cx25821_res_locked(fh, RESOURCE_VIDEO0))
|
if (cx25821_res_locked(fh, RESOURCE_VIDEO0))
|
||||||
return -EBUSY;
|
return -EBUSY;
|
||||||
|
|
||||||
return videobuf_read_one(&fh->vidq, data, count, ppos,
|
return videobuf_read_one(&fh->vidq, data, count, ppos,
|
||||||
file->f_flags & O_NONBLOCK);
|
file->f_flags & O_NONBLOCK);
|
||||||
|
|
||||||
default:
|
default:
|
||||||
BUG();
|
BUG();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static unsigned int video_poll(struct file *file,
|
static unsigned int video_poll(struct file *file,
|
||||||
|
Reference in New Issue
Block a user