diff mbox series

Make V4L2_MEM2MEM_DEV manually selectable.

Message ID 20210301235216.81150-1-wt@penguintechs.org
State New
Headers show
Series Make V4L2_MEM2MEM_DEV manually selectable. | expand

Commit Message

Wren Turkal March 1, 2021, 11:52 p.m. UTC
The V4L2_MEM2MEM_DEV config item enables the mem2mem framework
in the v4l2 core code. This framework is used by mem2mem drivers.
I would like to be able to turn this feature on in order to
expose the related symbols so that I can work on a module that
is not yet ready to be submitted for inclusion itself.

Signed-off-by: Wren Turkal <wt@penguintechs.org>
---
 drivers/media/v4l2-core/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Wren Turkal March 2, 2021, 12:25 a.m. UTC | #1
Mauro,

I think I should have sent the original mail to you. If this is
incorrect, I apologize as this is my first attempt to
propose a patch for Linux. PTAL or help me find the right
way forward.

Thanks,
wt

On 3/1/21 3:52 PM, Wren Turkal wrote:
> The V4L2_MEM2MEM_DEV config item enables the mem2mem framework

> in the v4l2 core code. This framework is used by mem2mem drivers.

> I would like to be able to turn this feature on in order to

> expose the related symbols so that I can work on a module that

> is not yet ready to be submitted for inclusion itself.

>

> Signed-off-by: Wren Turkal <wt@penguintechs.org>

> ---

>   drivers/media/v4l2-core/Kconfig | 2 +-

>   1 file changed, 1 insertion(+), 1 deletion(-)

>

> diff --git a/drivers/media/v4l2-core/Kconfig b/drivers/media/v4l2-core/Kconfig

> index bf49f83cb86f..25004137a982 100644

> --- a/drivers/media/v4l2-core/Kconfig

> +++ b/drivers/media/v4l2-core/Kconfig

> @@ -54,7 +54,7 @@ config V4L2_H264

>   

>   # Used by drivers that need v4l2-mem2mem.ko

>   config V4L2_MEM2MEM_DEV

> -	tristate

> +	tristate "V4L2 mem2mem framework support"

>   	depends on VIDEOBUF2_CORE

>   

>   # Used by LED subsystem flash drivers
diff mbox series

Patch

diff --git a/drivers/media/v4l2-core/Kconfig b/drivers/media/v4l2-core/Kconfig
index bf49f83cb86f..25004137a982 100644
--- a/drivers/media/v4l2-core/Kconfig
+++ b/drivers/media/v4l2-core/Kconfig
@@ -54,7 +54,7 @@  config V4L2_H264
 
 # Used by drivers that need v4l2-mem2mem.ko
 config V4L2_MEM2MEM_DEV
-	tristate
+	tristate "V4L2 mem2mem framework support"
 	depends on VIDEOBUF2_CORE
 
 # Used by LED subsystem flash drivers