Re: [PATCH 1/1] media: via: Use correct dependency for camera sensor drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 8/22/23 01:10, Sakari Ailus wrote:
> The via camera controller driver selected ov7670 driver, however now that
> driver has dependencies and may no longer be selected unconditionally.
> 
> Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Fixes: 7d3c7d2a2914 ("media: i2c: Add a camera sensor top level menu")
> Signed-off-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>

Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Tested-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Thanks.

> ---
>  drivers/media/platform/via/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/media/platform/via/Kconfig b/drivers/media/platform/via/Kconfig
> index 8926eb0803b2..6e603c038248 100644
> --- a/drivers/media/platform/via/Kconfig
> +++ b/drivers/media/platform/via/Kconfig
> @@ -7,7 +7,7 @@ config VIDEO_VIA_CAMERA
>  	depends on V4L_PLATFORM_DRIVERS
>  	depends on FB_VIA && VIDEO_DEV
>  	select VIDEOBUF2_DMA_SG
> -	select VIDEO_OV7670
> +	select VIDEO_OV7670 if VIDEO_CAMERA_SENSOR
>  	help
>  	   Driver support for the integrated camera controller in VIA
>  	   Chrome9 chipsets.  Currently only tested on OLPC xo-1.5 systems

-- 
~Randy



[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux