[2/2] media: platform: video-viu: Do not select it by default

Message ID 20220422143130.1697636-2-festevam@gmail.com (mailing list archive)
State Accepted
Delegated to: Hans Verkuil
Headers
Series [1/2] media: platform: imx-mipi-csis: Remove unneeded 'default n' |

Commit Message

Fabio Estevam April 22, 2022, 2:31 p.m. UTC
  From: Fabio Estevam <festevam@denx.de>

The video viu driver is not a vital one for booting purposes.

Remove the unneeded 'default y' option.

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 drivers/media/platform/nxp/Kconfig | 1 -
 1 file changed, 1 deletion(-)
  

Comments

Laurent Pinchart April 23, 2022, 9:26 p.m. UTC | #1
Hi Fabio,

Thank you for the patch.

On Fri, Apr 22, 2022 at 11:31:30AM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> The video viu driver is not a vital one for booting purposes.
> 
> Remove the unneeded 'default y' option.
> 
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
>  drivers/media/platform/nxp/Kconfig | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/media/platform/nxp/Kconfig b/drivers/media/platform/nxp/Kconfig
> index a0810df751dc..1ac0a6e91111 100644
> --- a/drivers/media/platform/nxp/Kconfig
> +++ b/drivers/media/platform/nxp/Kconfig
> @@ -20,7 +20,6 @@ config VIDEO_VIU
>  	depends on V4L_PLATFORM_DRIVERS
>  	depends on VIDEO_DEV && (PPC_MPC512x || COMPILE_TEST) && I2C
>  	select VIDEOBUF_DMA_CONTIG
> -	default y
>  	help
>  	  Support for Freescale VIU video driver. This device captures
>  	  video data, or overlays video on DIU frame buffer.
  

Patch

diff --git a/drivers/media/platform/nxp/Kconfig b/drivers/media/platform/nxp/Kconfig
index a0810df751dc..1ac0a6e91111 100644
--- a/drivers/media/platform/nxp/Kconfig
+++ b/drivers/media/platform/nxp/Kconfig
@@ -20,7 +20,6 @@  config VIDEO_VIU
 	depends on V4L_PLATFORM_DRIVERS
 	depends on VIDEO_DEV && (PPC_MPC512x || COMPILE_TEST) && I2C
 	select VIDEOBUF_DMA_CONTIG
-	default y
 	help
 	  Support for Freescale VIU video driver. This device captures
 	  video data, or overlays video on DIU frame buffer.