1 From 09cc3528a822ee9d1f7be9e19af760b5e60f1c8f Mon Sep 17 00:00:00 2001
2 From: Hristo Venev <hristo@venev.name>
3 Date: Wed, 19 Aug 2020 17:05:53 +0300
4 Subject: [PATCH] staging: media: rpivid: Select MEDIA_CONTROLLER and
5 MEDIA_CONTROLLER_REQUEST_API
7 MEDIA_CONTROLLER_REQUEST_API is a hidden option. If rpivid depends on it,
8 the user would need to first enable another driver that selects
9 MEDIA_CONTROLLER_REQUEST_API, and only then rpivid would become available.
11 By selecting it instead of depending on it, it becomes possible to enable
12 rpivid without having to enable other potentially unnecessary drivers.
14 Signed-off-by: Hristo Venev <hristo@venev.name>
16 drivers/staging/media/rpivid/Kconfig | 4 ++--
17 1 file changed, 2 insertions(+), 2 deletions(-)
19 --- a/drivers/staging/media/rpivid/Kconfig
20 +++ b/drivers/staging/media/rpivid/Kconfig
23 tristate "Rpi H265 driver"
24 depends on VIDEO_DEV && VIDEO_V4L2
25 - depends on MEDIA_CONTROLLER
27 - depends on MEDIA_CONTROLLER_REQUEST_API
28 + select MEDIA_CONTROLLER
29 + select MEDIA_CONTROLLER_REQUEST_API
30 select VIDEOBUF2_DMA_CONTIG
31 select V4L2_MEM2MEM_DEV