V4L/DVB (6997): Replace a very dirty hack on videobuf for a clean wait_event
authorMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 10 Jan 2008 10:33:03 +0000 (07:33 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:04:46 +0000 (19:04 -0200)
In order to videobuf_iolock to work, mmap_mapper should be called first.
Otherwise, an OOPS is generated.

On some cases, .mmap file handler used to took some time to be called. On those
situations, mmap_mmapper() were called after iolock.

This patch properly waits for mmap_mapper to be called, otherwise generating an
error.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>

No differences found