Re: [PATCH v5 04/17] omap3isp: Add vb2_queue lock

2018-06-21 Thread Ezequiel Garcia
On Thu, 2018-06-21 at 10:18 +0200, Hans Verkuil wrote: > On 06/20/18 19:42, Ezequiel Garcia wrote: > > vb2_queue locks is now mandatory. Add it, remove driver ad-hoc > > locks, > > and implement wait_{prepare, finish}. > > > > Also, remove stream_lock mutex. Sicen the ioctls operations > > Sicen

Re: [PATCH v5 04/17] omap3isp: Add vb2_queue lock

2018-06-21 Thread Hans Verkuil
On 06/20/18 19:42, Ezequiel Garcia wrote: > vb2_queue locks is now mandatory. Add it, remove driver ad-hoc locks, > and implement wait_{prepare, finish}. > > Also, remove stream_lock mutex. Sicen the ioctls operations Sicen -> Since > are protected by the queue mutex, the stream_lock mutex is

[PATCH v5 04/17] omap3isp: Add vb2_queue lock

2018-06-20 Thread Ezequiel Garcia
vb2_queue locks is now mandatory. Add it, remove driver ad-hoc locks, and implement wait_{prepare, finish}. Also, remove stream_lock mutex. Sicen the ioctls operations are protected by the queue mutex, the stream_lock mutex is not needed. Signed-off-by: Ezequiel Garcia ---