diff options
| author | Javier Martinez Canillas <javier@osg.samsung.com> | 2016-07-20 13:07:55 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-08-24 10:08:32 -0300 |
| commit | 14150723659af133e4b205ccf6ff8d93c1384014 (patch) | |
| tree | b04971061e3608661333b15f602e6777c54f058b /drivers/media/v4l2-core/videobuf2-vmalloc.c | |
| parent | f223c30f1ee9d327df2761f0546c413aabe8f356 (diff) | |
[media] vb2: include lengths in dmabuf qbuf debug message
If the VIDIOC_QBUF ioctl fails due a wrong dmabuf length, it's
useful to get the invalid and minimum lengths as a debug info.
Before this patch:
vb2-core: __qbuf_dmabuf: invalid dmabuf length for plane 1
After this patch:
vb2-core: __qbuf_dmabuf: invalid dmabuf length 221248 for plane 1, minimum length 410880
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/v4l2-core/videobuf2-vmalloc.c')
0 files changed, 0 insertions, 0 deletions
