media: i2c: Kconfig: Ensure a dependency on HAVE_CLK for VIDEO_CAMERA_SENSOR
Both ACPI and DT-based systems are required to obtain the external camera sensor clock using the new devm_v4l2_sensor_clk_get() helper function. Ensure a dependency on HAVE_CLK when config VIDEO_CAMERA_SENSOR is enabled. Signed-off-by: Mehdi Djait <mehdi.djait@linux.intel.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
This commit is contained in:
parent
7ecb662b71
commit
2d240b124c
@ -27,7 +27,7 @@ config VIDEO_IR_I2C
|
||||
|
||||
menuconfig VIDEO_CAMERA_SENSOR
|
||||
bool "Camera sensor devices"
|
||||
depends on MEDIA_CAMERA_SUPPORT && I2C
|
||||
depends on MEDIA_CAMERA_SUPPORT && I2C && HAVE_CLK
|
||||
select MEDIA_CONTROLLER
|
||||
select V4L2_FWNODE
|
||||
select VIDEO_V4L2_SUBDEV_API
|
||||
|
||||
Loading…
Reference in New Issue
Block a user