Commit 319c4bd4 authored by Helen Koike's avatar Helen Koike Committed by Mauro Carvalho Chehab

media: v4l2-ioctl: print capabilities in v4l_print_create_buffers()

Print capabilities field from struct v4l2_create_buffers for better
debugging.
Signed-off-by: default avatarHelen Koike <helen.koike@collabora.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 031b9212
...@@ -518,9 +518,9 @@ static void v4l_print_create_buffers(const void *arg, bool write_only) ...@@ -518,9 +518,9 @@ static void v4l_print_create_buffers(const void *arg, bool write_only)
{ {
const struct v4l2_create_buffers *p = arg; const struct v4l2_create_buffers *p = arg;
pr_cont("index=%d, count=%d, memory=%s, ", pr_cont("index=%d, count=%d, memory=%s, capabilities=0x%08x, ",
p->index, p->count, p->index, p->count, prt_names(p->memory, v4l2_memory_names),
prt_names(p->memory, v4l2_memory_names)); p->capabilities);
v4l_print_format(&p->format, write_only); v4l_print_format(&p->format, write_only);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment