media: Add a Kconfig option for the Request API
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 5 Dec 2018 17:23:54 +0000 (12:23 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 5 Dec 2018 18:07:43 +0000 (13:07 -0500)
commit078ab3ea2c3bb69cb989d52346fefa1246055e5b
tree13f4635ae7042f870cb9f041e998580c631a15be
parentcd9fd6f12fc762246607c77673acdfb55f8096b6
media: Add a Kconfig option for the Request API

The Request API is now merged to the kernel but the confidence on the
stability of that API is not great, especially regarding the interaction
with V4L2.

Add a Kconfig option for the API, with a scary-looking warning.

The patch itself disables request creation as well as does not advertise
them as buffer flags. The driver requiring requests (cedrus) now depends
on the Kconfig option as well.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/Kconfig
drivers/media/common/videobuf2/videobuf2-v4l2.c
drivers/media/media-device.c
drivers/staging/media/sunxi/cedrus/Kconfig