diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2014-01-29 15:53:25 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-03-11 10:56:37 +0100 |
commit | b5b4541eef8eac83f5c0d166d8e494f7c9fff202 (patch) | |
tree | f4bc458dfff48a3bd2236f235fa3249c356e2db8 /include/media/davinci | |
parent | [media] vb2: fix PREPARE_BUF regression (diff) | |
download | linux-b5b4541eef8eac83f5c0d166d8e494f7c9fff202.tar.xz linux-b5b4541eef8eac83f5c0d166d8e494f7c9fff202.zip |
[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 'include/media/davinci')
0 files changed, 0 insertions, 0 deletions