From: Hans Verkuil Date: Wed, 29 Jan 2014 14:53:25 +0000 (-0300) Subject: [media] vb2: add debugging code to check for unbalanced ops X-Git-Tag: v3.15-rc1~85^2~170 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5b4541eef8eac83f5c0d166d8e494f7c9fff202;p=pandora-kernel.git [media] vb2: add debugging code to check for unbalanced ops When a vb2_queue is freed check if all the mem_ops and queue ops were balanced. So the number of calls to e.g. buf_finish has to match the number of calls to buf_prepare, etc. This code is only enabled if CONFIG_VIDEO_ADV_DEBUG is set. Signed-off-by: Hans Verkuil Acked-by: Pawel Osciak Acked-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed