lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250708161637.227111-1-mehdi.djait@linux.intel.com>
Date: Tue,  8 Jul 2025 18:16:37 +0200
From: Mehdi Djait <mehdi.djait@...ux.intel.com>
To: sakari.ailus@...ux.intel.com,
	laurent.pinchart@...asonboard.com
Cc: jacopo.mondi@...asonboard.com,
	hverkuil@...all.nl,
	kieran.bingham@...asonboard.com,
	mchehab@...nel.org,
	hdegoede@...hat.com,
	arnd@...db.de,
	linux-media@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Mehdi Djait <mehdi.djait@...ux.intel.com>
Subject: [PATCH] media: i2c: Kconfig: Select COMMON_CLK for ACPI-based systems

ACPI-based systems are required to create and register a fixed rate clock
using the new v4l2 helper devm_v4l2_sensor_clk_get() that uses the
common clk framework.

Ensure that COMMON_CLK is selected.

Signed-off-by: Mehdi Djait <mehdi.djait@...ux.intel.com>
---
 drivers/media/i2c/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig
index e68202954a8f..f974a0e0dcec 100644
--- a/drivers/media/i2c/Kconfig
+++ b/drivers/media/i2c/Kconfig
@@ -31,6 +31,7 @@ menuconfig VIDEO_CAMERA_SENSOR
 	select MEDIA_CONTROLLER
 	select V4L2_FWNODE
 	select VIDEO_V4L2_SUBDEV_API
+	select COMMON_CLK if ACPI && !HAVE_LEGACY_CLK
 	default y
 
 if VIDEO_CAMERA_SENSOR
-- 
2.49.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ