Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193025
b: refs/heads/master
c: f4fce60
h: refs/heads/master
i:
  193023: d0e3a0d
v: v3
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed May 19, 2010
1 parent c7296f8 commit 7a793e2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 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: 037c75eb14cd6adb837f81f0c2b2a52c31c91e69
refs/heads/master: f4fce60e8b1559306fa1112287bc8765f6977de3
9 changes: 4 additions & 5 deletions trunk/drivers/media/video/videobuf-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,15 +105,14 @@ int videobuf_iolock(struct videobuf_queue *q, struct videobuf_buffer *vb,
}
EXPORT_SYMBOL_GPL(videobuf_iolock);

void *videobuf_queue_to_vmalloc(struct videobuf_queue *q,
struct videobuf_buffer *buf)
void *videobuf_queue_to_vaddr(struct videobuf_queue *q,
struct videobuf_buffer *buf)
{
if (q->int_ops->vaddr)
return q->int_ops->vaddr(buf);
else
return NULL;
return NULL;
}
EXPORT_SYMBOL_GPL(videobuf_queue_to_vmalloc);
EXPORT_SYMBOL_GPL(videobuf_queue_to_vaddr);

/* --------------------------------------------------------------------- */

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/videobuf-dvb.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ static int videobuf_dvb_thread(void *data)
try_to_freeze();

/* feed buffer data to demux */
outp = videobuf_queue_to_vmalloc (&dvb->dvbq, buf);
outp = videobuf_queue_to_vaddr(&dvb->dvbq, buf);

if (buf->state == VIDEOBUF_DONE)
dvb_dmx_swfilter(&dvb->demux, outp,
Expand Down
4 changes: 2 additions & 2 deletions trunk/include/media/videobuf-core.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ int videobuf_iolock(struct videobuf_queue *q, struct videobuf_buffer *vb,
struct videobuf_buffer *videobuf_alloc(struct videobuf_queue *q);

/* Used on videobuf-dvb */
void *videobuf_queue_to_vmalloc(struct videobuf_queue *q,
struct videobuf_buffer *buf);
void *videobuf_queue_to_vaddr(struct videobuf_queue *q,
struct videobuf_buffer *buf);

void videobuf_queue_core_init(struct videobuf_queue *q,
const struct videobuf_queue_ops *ops,
Expand Down

0 comments on commit 7a793e2

Please sign in to comment.