Files
kernel_common_drivers/drivers/camera/Kconfig
T
yang.chen 6d48ce8b7f camera: fix that Kconfig violates GKI 2.0 [1/1]
PD#SWPL-206649
PD#SWPL-206657

Problem:
According to the GKI 2.0 specification, do not
use select to configure dependent kernel
modules in external module Kconfig files.

Solution:
Use depends on instead of select.

Verify:
android 16

Change-Id: I8ddceaa7679c1ed74757d0726a7b106131fbf348
Signed-off-by: yang.chen <yang.chen@amlogic.com>
2025-04-16 00:03:31 -07:00

16 lines
471 B
Plaintext

# SPDX-License-Identifier: (GPL-2.0+ OR MIT)
config AMLOGIC_MEDIA_CAMERA
tristate "Amlogic Camera driver"
select VIDEOBUF2_DMA_CONTIG if AMLOGIC_BREAK_GKI
select VIDEOBUF2_VMALLOC if AMLOGIC_BREAK_GKI
select V4L2_FWNODE if AMLOGIC_BREAK_GKI
select V4L2_ASYNC if AMLOGIC_BREAK_GKI
default n
help
This option is used to configure amlogic camera driver,
which need use dma contig and v4l2 fwnode.
select y for built-in
select m for ko
select n for disable