Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285716
b: refs/heads/master
c: 527f18b
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Mauro Carvalho Chehab committed Jan 6, 2012
1 parent c89f116 commit 33359bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ccd1a499c1675fef5d2a138617507add63cb81db
refs/heads/master: 527f18be2d69db4752e5b7f227548a075a37749b
14 changes: 4 additions & 10 deletions trunk/drivers/staging/media/dt3155v4l/dt3155v4l.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,10 @@ dt3155_start_acq(struct dt3155_priv *pd)
* driver-specific callbacks (vb2_ops)
*/
static int
dt3155_queue_setup(struct vb2_queue *q, unsigned int *num_buffers,
unsigned int *num_planes, unsigned long sizes[],
void *alloc_ctxs[])
dt3155_queue_setup(struct vb2_queue *q, const struct v4l2_format *fmt,
unsigned int *num_buffers, unsigned int *num_planes,
unsigned int sizes[], void *alloc_ctxs[])

{
struct dt3155_priv *pd = vb2_get_drv_priv(q);
void *ret;
Expand Down Expand Up @@ -261,12 +262,6 @@ dt3155_buf_prepare(struct vb2_buffer *vb)
return 0;
}

static int
dt3155_start_streaming(struct vb2_queue *q)
{
return 0;
}

static int
dt3155_stop_streaming(struct vb2_queue *q)
{
Expand Down Expand Up @@ -308,7 +303,6 @@ const struct vb2_ops q_ops = {
.wait_prepare = dt3155_wait_prepare,
.wait_finish = dt3155_wait_finish,
.buf_prepare = dt3155_buf_prepare,
.start_streaming = dt3155_start_streaming,
.stop_streaming = dt3155_stop_streaming,
.buf_queue = dt3155_buf_queue,
};
Expand Down

0 comments on commit 33359bf

Please sign in to comment.