Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 65950
b: refs/heads/master
c: d5f1b01
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Oct 10, 2007
1 parent 12e6bc5 commit 258c7df
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5ddff43435394c1c2540fcdeed00cb54862c31bf
refs/heads/master: d5f1b01644b6fd5e9eb480a4762cd6b569cb1246
8 changes: 8 additions & 0 deletions trunk/drivers/media/video/videobuf-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,14 @@ int videobuf_iolock(struct videobuf_queue* q, struct videobuf_buffer *vb,
MAGIC_CHECK(vb->magic,MAGIC_BUFFER);
MAGIC_CHECK(q->int_ops->magic,MAGIC_QTYPE_OPS);

/* FIXME: This is required to avoid OOPS on some cases, since mmap_mapper()
method should be called before _iolock.
On some cases, the mmap_mapper() is called only after scheduling.
However, this way is just too dirty! Better to wait for some event.
*/
schedule_timeout(HZ);

return CALL(q,iolock,q,vb,fbuf);
}

Expand Down

0 comments on commit 258c7df

Please sign in to comment.