V4L/DVB (11029): video: use videobuf_waiton() in sh_mobile_ceu free_buffer()
Make sure videobuf_waiton() is used before freeing a buffer. Without this fix we may return the buffer to the allocator before the bus mastering operation is finished. Reported-by: NMatthieu CASTET <matthieu.castet@parrot.com> Tested-by: NKuninori Morimoto <morimoto.kuninori@renesas.com> Signed-off-by: NMagnus Damm <damm@igel.co.jp> Signed-off-by: NGuennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
Showing
想要评论请 注册 或 登录