v4l: CB0 NULL pointer panic in dmabuff_recycle_worker. [1/1]

PD#SWPL-197253

Problem:
Output dma buffers are recycled after vb2_buff_done causing the NULL
pointer panic.

Solution:
Make sure the works in es_wrk_in and ws_wrk_out are finish before
vb2_buff_done.

Verify:
sc2

Change-Id: Icf0fe4239142ca0c2af74cca12f8b6d9e1087764
Signed-off-by: yu.xie <yu.xie@amlogic.com>
1 file changed