From: Hans Verkuil Date: Mon, 14 Apr 2014 10:33:00 +0000 (-0300) Subject: [media] vb2: add thread support X-Git-Tag: omap-for-v3.16/fixes-against-rc1~25^2~242 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3415a89f48dce655ae353bc70a8e292764e8e931;p=pandora-kernel.git [media] vb2: add thread support In order to implement vb2 DVB support you need to be able to start a kernel thread that queues and dequeues buffers, calling a callback function for every buffer. This patch adds support for that. It's based on drivers/media/v4l2-core/videobuf-dvb.c, but with all the DVB specific stuff stripped out, thus making it much more generic. Signed-off-by: Hans Verkuil Acked-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed