public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Sakari Ailus <sakari.ailus@linux•intel.com>
To: linux-media@vger•kernel.org, Randy Dunlap <rdunlap@infradead•org>
Cc: hverkuil@xs4all•nl, Stephen Rothwell <sfr@canb•auug.org.au>,
	Linux Kernel Mailing List <linux-kernel@vger•kernel.org>,
	linux-next@vger•kernel.org, Wentong Wu <wentong.wu@intel•com>,
	Zhifeng Wang <zhifeng.wang@intel•com>,
	Mauro Carvalho Chehab <mchehab@kernel•org>
Subject: [PATCH 1/1] media: via: Use correct dependency for camera sensor drivers
Date: Tue, 22 Aug 2023 11:10:34 +0300	[thread overview]
Message-ID: <20230822081034.3869843-1-sakari.ailus@linux.intel.com> (raw)

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@infradead•org>
Fixes: 7d3c7d2a2914 ("media: i2c: Add a camera sensor top level menu")
Signed-off-by: Sakari Ailus <sakari.ailus@linux•intel.com>
---
 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
-- 
2.39.2


             reply	other threads:[~2023-08-22  8:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-22  8:10 Sakari Ailus [this message]
2023-08-22 21:01 ` [PATCH 1/1] media: via: Use correct dependency for camera sensor drivers Randy Dunlap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230822081034.3869843-1-sakari.ailus@linux.intel.com \
    --to=sakari.ailus@linux$(echo .)intel.com \
    --cc=hverkuil@xs4all$(echo .)nl \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-media@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=mchehab@kernel$(echo .)org \
    --cc=rdunlap@infradead$(echo .)org \
    --cc=sfr@canb$(echo .)auug.org.au \
    --cc=wentong.wu@intel$(echo .)com \
    --cc=zhifeng.wang@intel$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox