diff options
author | Jason Chen <b02280@freescale.com> | 2011-10-27 10:21:29 +0800 |
---|---|---|
committer | Eric Miao <eric.miao@linaro.org> | 2011-12-04 23:14:04 +0800 |
commit | 05023509504c69d7750f3bd7134850d54cb289a5 (patch) | |
tree | 85a3c5b66a0997f5f9949d5b5a17c23ccbb94ade /drivers | |
parent | 806d19c52e98fcf0820566cce470ecd4e0d213b4 (diff) |
ENGR00160876 videobuf: add timestamp for user point buffer
1. add timestamp for userpoint buffer
2. use pgprot_writecombine for mmap
Signed-off-by: Jason Chen <b02280@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/videobuf-core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/videobuf-core.c b/drivers/media/video/videobuf-core.c index de4fa4eb884..2149f4dbfba 100644 --- a/drivers/media/video/videobuf-core.c +++ b/drivers/media/video/videobuf-core.c @@ -600,6 +600,7 @@ int videobuf_qbuf(struct videobuf_queue *q, struct v4l2_buffer *b) buf->baddr != b->m.userptr) q->ops->buf_release(q, buf); buf->baddr = b->m.userptr; + buf->ts = b->timestamp; break; case V4L2_MEMORY_OVERLAY: buf->boff = b->m.offset; |