linux/drivers/media
Benjamin Gaignard 6e423b75d0 media: core: Rework how create_buf index returned value is computed
When REMOVE_BUFS will be introduced holes could created in bufs array.
To be able to reuse these unused indices reworking how create->index
is set is mandatory.
Let __vb2_queue_alloc() decide which first index is correct and
forward this to the caller.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Acked-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2024-03-25 12:00:44 +01:00
..
cec media: platform: cros-ec: Add Dita to the match table 2024-02-16 11:46:32 +01:00
common media: core: Rework how create_buf index returned value is computed 2024-03-25 12:00:44 +01:00
dvb-core media: dvb_frontend: Use wait_event_freezable_timeout() for freezable kthread 2024-02-16 11:46:31 +01:00
dvb-frontends media updates for v6.9-rc1 2024-03-15 11:36:54 -07:00
firewire media: firewire: firedtv-avc.c: replace BUG with proper, error return 2023-08-10 07:58:37 +02:00
i2c media updates for v6.9-rc1 2024-03-15 11:36:54 -07:00
mc media: mc: Expand MUST_CONNECT flag to always require an enabled link 2024-02-05 14:29:34 +01:00
mmc
pci media updates for v6.9-rc1 2024-03-15 11:36:54 -07:00
platform media: c8sectpfe: Remove unused of_gpio.h 2024-03-25 10:13:43 +01:00
radio media: radio-si476x: don't fill in bus_info 2023-09-27 10:47:23 +02:00
rc media: imon: Convert sprintf/snprintf to sysfs_emit 2024-03-25 10:13:44 +01:00
spi
test-drivers media: test-drivers: Set REQBUFS minimum number of buffers 2024-03-25 12:00:44 +01:00
tuners media: tda18271: remove redundant assignment to variable bcal 2024-02-16 11:46:32 +01:00
usb media updates for v6.9-rc1 2024-03-15 11:36:54 -07:00
v4l2-core media updates for v6.9-rc1 2024-03-15 11:36:54 -07:00
Kconfig media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y 2022-12-07 17:58:46 +01:00
Makefile