diff options
author | Hans Verkuil <hansverk@cisco.com> | 2018-08-23 17:18:35 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-09-11 16:51:28 +0300 |
commit | e5079cf11373e4cc98be8b1072aece429eb2d4d2 (patch) | |
tree | ee659acda990911b5f8f593d944331bda4136a4e /sound/usb/bcd2000 | |
parent | f35f5d72e70e6b91389eb98fcabf43b79f40587f (diff) | |
download | linux-e5079cf11373e4cc98be8b1072aece429eb2d4d2.tar.xz |
media: vb2: set reqbufs/create_bufs capabilities
Set the capabilities field of v4l2_requestbuffers and v4l2_create_buffers.
The various mapping modes were easy, but for signaling the request capability
a new 'supports_requests' bitfield was added to videobuf2-core.h (and set in
vim2m and vivid). Drivers have to set this bitfield for any queue where
requests are supported.
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'sound/usb/bcd2000')
0 files changed, 0 insertions, 0 deletions