diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2014-08-04 02:33:53 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-09-21 20:45:03 -0300 |
commit | 23cd08c8f72405359862aff2ad2a8be1c232198c (patch) | |
tree | b507112fcc5548e723690be4aff1e3772c7c6df9 /include/media | |
parent | 47bc59c52b005f546343c373370a7eec6a2b0f84 (diff) | |
download | linux-stable-23cd08c8f72405359862aff2ad2a8be1c232198c.tar.gz linux-stable-23cd08c8f72405359862aff2ad2a8be1c232198c.tar.bz2 linux-stable-23cd08c8f72405359862aff2ad2a8be1c232198c.zip |
[media] videobuf2-core: add comments before the WARN_ON
Recently WARN_ON() calls have been added to warn if the driver is not
properly returning buffers to vb2 in start_streaming (if it fails) or
stop_streaming(). Add comments before those WARN_ON calls that refer
to the videobuf2-core.h header that explains what drivers are supposed
to do in these situations. That should help point developers in the
right direction if they see these warnings.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Pawel Osciak <pawel@osciak.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions