From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1272B35CB77; Wed, 3 Dec 2025 16:26:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764779179; cv=none; b=GzMXFBsSK3jqRWhK5wJWX+kMyGmmVzHdhH05BIlo52h3Ue1BiuiTIvzxkRNUM7NUqdzXtK4eHSBaGO5BmHeVhiu6+yiJdox8bbXaIP+FvOJNMPdRQeV+q5e4B+tyb6Maa1NefDlpLkSB+tK4jLaQDGp+wh7dRIVA9715RSUma64= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764779179; c=relaxed/simple; bh=8UNDcG8JeP2hs/EThdf8Xd1D+VQw6ek/x5gLzsmFbo0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=YWTmzSrL7bq1J8THo5V16jS8ELX1ElKNPbv0Sx5igXJ9scuEjykCT75Hrs6tHXfEKcGY0gqRM8C8DMUGVDd8sGdvwjqgZ5CIXy4+ZG3ATgECjewk1Bs4YMlmZaBvhVhGj+9i3t9qiEs0eNMEd/O4elQCa0jOf/FlUepd2ghZfb0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=lsd39qgv; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="lsd39qgv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8EE27C4CEF5; Wed, 3 Dec 2025 16:26:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1764779178; bh=8UNDcG8JeP2hs/EThdf8Xd1D+VQw6ek/x5gLzsmFbo0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lsd39qgvfYt+rvsQt7lnDEJzdO9rfZlAUgSn4jold8hao2OFbFVMmo8x3DPI38DDn e3Kfiju1iLRjOJz9gPrfM3bT916Wd6tzSWly5S3gLJYa/FQGhfIybOAv10hqdSiQSt 5rY7w0CUTzn9Zu8mQzG2a69IwN9UaXrm0GVoZQ24= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Mehdi Djait , Arnd Bergmann , Sakari Ailus , Hans Verkuil , Sasha Levin Subject: [PATCH 6.1 146/568] media: i2c: Kconfig: Ensure a dependency on HAVE_CLK for VIDEO_CAMERA_SENSOR Date: Wed, 3 Dec 2025 16:22:28 +0100 Message-ID: <20251203152446.077106628@linuxfoundation.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251203152440.645416925@linuxfoundation.org> References: <20251203152440.645416925@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Mehdi Djait [ Upstream commit 2d240b124cc9df62ccccee6054bc3d1d19018758 ] 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 Reviewed-by: Arnd Bergmann Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil Signed-off-by: Sasha Levin --- drivers/media/i2c/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig index a34afb5217ebc..5c7ca13210871 100644 --- a/drivers/media/i2c/Kconfig +++ b/drivers/media/i2c/Kconfig @@ -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 -- 2.51.0