From: Lad, Prabhakar Date: Wed, 26 Nov 2014 23:25:44 +0000 (-0300) Subject: [media] media: usb: uvc: use vb2_ops_wait_prepare/finish helper X-Git-Tag: fixes-v4.0-rc1~147^2~305 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fb3f55504d5d9b6ca97131091707afd351fe1dc;p=pandora-kernel.git [media] media: usb: uvc: use vb2_ops_wait_prepare/finish helper This patch drops driver specific wait_prepare() and wait_finish() callbacks from vb2_ops and instead uses the the helpers vb2_ops_wait_prepare/finish() provided by the vb2 core, the lock member of the queue needs to be initalized to a mutex so that vb2 helpers vb2_ops_wait_prepare/finish() can make use of it. Signed-off-by: Lad, Prabhakar Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed