From: Magnus Damm Date: Fri, 13 Mar 2009 09:08:20 +0000 (-0300) Subject: V4L/DVB (11029): video: use videobuf_waiton() in sh_mobile_ceu free_buffer() X-Git-Tag: v2.6.30-rc1~621^2~228 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97215cbd1bc3cc32a2a1b3a94b003c3cbcf95683;p=pandora-kernel.git V4L/DVB (11029): video: use videobuf_waiton() in sh_mobile_ceu free_buffer() Make sure videobuf_waiton() is used before freeing a buffer. Without this fix we may return the buffer to the allocator before the bus mastering operation is finished. Reported-by: Matthieu CASTET Tested-by: Kuninori Morimoto Signed-off-by: Magnus Damm Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed