Re: [PATCH v2 06/11] media: marvell-ccic: use vb2_ops_wait_prepare/finish helper

2014-12-01 Thread Jonathan Corbet
On Wed, 26 Nov 2014 22:42:29 + Lad, Prabhakar prabhakar.cse...@gmail.com wrote: 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 This is good, what I had in

[PATCH v2 06/11] media: marvell-ccic: use vb2_ops_wait_prepare/finish helper

2014-11-26 Thread Lad, Prabhakar
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