summaryrefslogtreecommitdiff
path: root/drivers/media/usb/pwc
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2014-01-29 18:53:25 +0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-11 13:56:37 +0400
commitb5b4541eef8eac83f5c0d166d8e494f7c9fff202 (patch)
treef4bc458dfff48a3bd2236f235fa3249c356e2db8 /drivers/media/usb/pwc
parent952c9ee2900de152c4999d94da5c4bd846ae52e8 (diff)
downloadlinux-b5b4541eef8eac83f5c0d166d8e494f7c9fff202.tar.xz
[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 <hans.verkuil@cisco.com> Acked-by: Pawel Osciak <pawel@osciak.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/usb/pwc')
0 files changed, 0 insertions, 0 deletions