Re: [PATCH 04/10] mem2mem_testdev: Remove unneeded struct vb2_queue clear on queue_init()

2012-08-23 Thread Sylwester Nawrocki
On 08/23/2012 03:49 PM, Sylwester Nawrocki wrote: > Hi Ezequiel, > > On 08/23/2012 03:08 PM, Ezequiel Garcia wrote: >> queue_init() is always called by v4l2_m2m_ctx_init(), which allocates >> a context struct v4l2_m2m_ctx with kzalloc. >> Therefore, there is no need to clear vb2_queue src/dst stru

Re: [PATCH 04/10] mem2mem_testdev: Remove unneeded struct vb2_queue clear on queue_init()

2012-08-23 Thread Sylwester Nawrocki
Hi Ezequiel, On 08/23/2012 03:08 PM, Ezequiel Garcia wrote: > queue_init() is always called by v4l2_m2m_ctx_init(), which allocates > a context struct v4l2_m2m_ctx with kzalloc. > Therefore, there is no need to clear vb2_queue src/dst structs. > > Signed-off-by: Ezequiel Garcia Looks good to me

[PATCH 04/10] mem2mem_testdev: Remove unneeded struct vb2_queue clear on queue_init()

2012-08-23 Thread Ezequiel Garcia
queue_init() is always called by v4l2_m2m_ctx_init(), which allocates a context struct v4l2_m2m_ctx with kzalloc. Therefore, there is no need to clear vb2_queue src/dst structs. Signed-off-by: Ezequiel Garcia --- drivers/media/platform/mem2mem_testdev.c |2 -- 1 files changed, 0 insertions(+