From: Mauro Carvalho Chehab Date: Sun, 13 Apr 2008 17:58:43 +0000 (-0300) Subject: V4L/DVB (7553): videobuf-vmalloc: fix STREAMOFF/STREAMON X-Git-Tag: v2.6.26-rc1~1084^2~161 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aaea56afc31345e7b0456ebb01586ba627ecd0f8;p=pandora-kernel.git V4L/DVB (7553): videobuf-vmalloc: fix STREAMOFF/STREAMON There were a small bug on videobuf-vmalloc that were preventing STREAMOFF to work. The issue is that vmalloc'ed mmaped memory should only be freed after being sure that there aren't any mmap usage. Otherwise, the memory remap will stop working, and the userspace won't receive any frames. This bug were affecting some userspace applications, like tvtime. After this patch, tvtime started to work again with the drivers that use videobuf-vmalloc. Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed