From: Mauro Carvalho Chehab Date: Thu, 10 Jan 2008 10:33:03 +0000 (-0300) Subject: V4L/DVB (6997): Replace a very dirty hack on videobuf for a clean wait_event X-Git-Tag: v2.6.25-rc1~1235^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d05051c82e0e8ff748e9c9a06a061bda3ad656e5;p=pandora-kernel.git V4L/DVB (6997): Replace a very dirty hack on videobuf for a clean wait_event 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 --- Reading git-diff-tree failed