Linux Media Controller development
 help / color / mirror / Atom feed
* [PATCH 1/1] media: Don't hide I²C or SPI drivers by default
@ 2026-09-18  8:17 Sakari Ailus
  2026-09-18  8:46 ` Hans Verkuil
  2026-09-19  7:10 ` Thorsten Leemhuis
  0 siblings, 2 replies; 7+ messages in thread
From: Sakari Ailus @ 2026-09-18  8:17 UTC (permalink / raw)
  To: linux-media
  Cc: Miguel Vadillo, Mauro Carvalho Chehab, Manuel Knitza,
	Thorsten Leemhuis, Antti Laakso, Mehdi Djait, Junjie Cao

MEDIA_HIDE_ANCILLARY_SUBDRV Kconfig option was intended for working with
sub-device and other helper driver autoselection in cases where the
required drivers are known, e.g. for PCI cards where all the related
components are mounted. This option, however, applied to e.g. all camera
sensor and lens VCM drivers that are generally present in systems without
being mounted on such a card. This leads to easily omitting required
drivers.

Drop the MEDIA_HIDE_ANCILLARY_SUBDRV for I²C and SPI devices.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
---
 drivers/media/i2c/Kconfig | 11 +----------
 drivers/media/spi/Kconfig |  4 ----
 2 files changed, 1 insertion(+), 14 deletions(-)

diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig
index 4d9946479160..9b28e91b8a67 100644
--- a/drivers/media/i2c/Kconfig
+++ b/drivers/media/i2c/Kconfig
@@ -1010,14 +1010,12 @@ endmenu
 # V4L2 I2C drivers that aren't related with Camera support
 #
 
-comment "audio, video and radio I2C drivers auto-selected by 'Autoselect ancillary drivers'"
-	depends on MEDIA_HIDE_ANCILLARY_SUBDRV
+comment "audio, video and radio I2C drivers"
 #
 # Encoder / Decoder module configuration
 #
 
 menu "Audio decoders, processors and mixers"
-	visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
 
 config VIDEO_CS3308
 	tristate "Cirrus Logic CS3308 audio ADC"
@@ -1180,7 +1178,6 @@ config VIDEO_WM8775
 endmenu
 
 menu "RDS decoders"
-	visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
 
 config VIDEO_SAA6588
 	tristate "SAA6588 Radio Chip RDS decoder support"
@@ -1197,7 +1194,6 @@ config VIDEO_SAA6588
 endmenu
 
 menu "Video decoders"
-	visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
 
 config VIDEO_ADV7180
 	tristate "Analog Devices ADV7180 decoder"
@@ -1557,7 +1553,6 @@ source "drivers/media/i2c/cx25840/Kconfig"
 endmenu
 
 menu "Video encoders"
-	visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
 
 config VIDEO_ADV7170
 	tristate "Analog Devices ADV7170 video encoder"
@@ -1656,7 +1651,6 @@ config VIDEO_THS8200
 endmenu
 
 menu "Video improvement chips"
-	visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
 
 config VIDEO_UPD64031A
 	tristate "NEC Electronics uPD64031A Ghost Reduction"
@@ -1685,7 +1679,6 @@ config VIDEO_UPD64083
 endmenu
 
 menu "Audio/Video compression chips"
-	visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
 
 config VIDEO_SAA6752HS
 	tristate "Philips SAA6752HS MPEG-2 Audio/Video Encoder"
@@ -1701,7 +1694,6 @@ config VIDEO_SAA6752HS
 endmenu
 
 menu "SDR tuner chips"
-	visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
 
 config SDR_MAX2175
 	tristate "Maxim 2175 RF to Bits tuner"
@@ -1718,7 +1710,6 @@ config SDR_MAX2175
 endmenu
 
 menu "Miscellaneous helper chips"
-	visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
 
 source "drivers/media/i2c/cvs/Kconfig"
 
diff --git a/drivers/media/spi/Kconfig b/drivers/media/spi/Kconfig
index 4656afae5bb4..da3e225d420d 100644
--- a/drivers/media/spi/Kconfig
+++ b/drivers/media/spi/Kconfig
@@ -1,15 +1,11 @@
 # SPDX-License-Identifier: GPL-2.0-only
 if VIDEO_DEV && SPI
 
-comment "SPI I2C drivers auto-selected by 'Autoselect ancillary drivers'"
-	depends on MEDIA_HIDE_ANCILLARY_SUBDRV && SPI
-
 menu "Media SPI Adapters"
 
 config CXD2880_SPI_DRV
 	tristate "Sony CXD2880 SPI support"
 	depends on DVB_CORE && SPI
-	default m if !MEDIA_SUBDRV_AUTOSELECT
 	help
 	  Choose if you would like to have SPI interface support for Sony CXD2880.
 

base-commit: aedd77ea8168f00687c1248cdf115071e869cf93
-- 
2.47.3


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/1] media: Don't hide I²C or SPI drivers by default
  2026-09-18  8:17 [PATCH 1/1] media: Don't hide I²C or SPI drivers by default Sakari Ailus
@ 2026-09-18  8:46 ` Hans Verkuil
  2026-09-19  7:10 ` Thorsten Leemhuis
  1 sibling, 0 replies; 7+ messages in thread
From: Hans Verkuil @ 2026-09-18  8:46 UTC (permalink / raw)
  To: Sakari Ailus, linux-media
  Cc: Miguel Vadillo, Mauro Carvalho Chehab, Manuel Knitza,
	Thorsten Leemhuis, Antti Laakso, Mehdi Djait, Junjie Cao

On 18/09/2026 10:17, Sakari Ailus wrote:
> MEDIA_HIDE_ANCILLARY_SUBDRV Kconfig option was intended for working with
> sub-device and other helper driver autoselection in cases where the
> required drivers are known, e.g. for PCI cards where all the related
> components are mounted. This option, however, applied to e.g. all camera
> sensor and lens VCM drivers that are generally present in systems without
> being mounted on such a card. This leads to easily omitting required
> drivers.
> 
> Drop the MEDIA_HIDE_ANCILLARY_SUBDRV for I²C and SPI devices.
> 
> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>

Acked-by: Hans Verkuil <hverkuil+cisco@kernel.org>

Regards,

	Hans

> ---
>  drivers/media/i2c/Kconfig | 11 +----------
>  drivers/media/spi/Kconfig |  4 ----
>  2 files changed, 1 insertion(+), 14 deletions(-)
> 
> diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig
> index 4d9946479160..9b28e91b8a67 100644
> --- a/drivers/media/i2c/Kconfig
> +++ b/drivers/media/i2c/Kconfig
> @@ -1010,14 +1010,12 @@ endmenu
>  # V4L2 I2C drivers that aren't related with Camera support
>  #
>  
> -comment "audio, video and radio I2C drivers auto-selected by 'Autoselect ancillary drivers'"
> -	depends on MEDIA_HIDE_ANCILLARY_SUBDRV
> +comment "audio, video and radio I2C drivers"
>  #
>  # Encoder / Decoder module configuration
>  #
>  
>  menu "Audio decoders, processors and mixers"
> -	visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
>  
>  config VIDEO_CS3308
>  	tristate "Cirrus Logic CS3308 audio ADC"
> @@ -1180,7 +1178,6 @@ config VIDEO_WM8775
>  endmenu
>  
>  menu "RDS decoders"
> -	visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
>  
>  config VIDEO_SAA6588
>  	tristate "SAA6588 Radio Chip RDS decoder support"
> @@ -1197,7 +1194,6 @@ config VIDEO_SAA6588
>  endmenu
>  
>  menu "Video decoders"
> -	visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
>  
>  config VIDEO_ADV7180
>  	tristate "Analog Devices ADV7180 decoder"
> @@ -1557,7 +1553,6 @@ source "drivers/media/i2c/cx25840/Kconfig"
>  endmenu
>  
>  menu "Video encoders"
> -	visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
>  
>  config VIDEO_ADV7170
>  	tristate "Analog Devices ADV7170 video encoder"
> @@ -1656,7 +1651,6 @@ config VIDEO_THS8200
>  endmenu
>  
>  menu "Video improvement chips"
> -	visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
>  
>  config VIDEO_UPD64031A
>  	tristate "NEC Electronics uPD64031A Ghost Reduction"
> @@ -1685,7 +1679,6 @@ config VIDEO_UPD64083
>  endmenu
>  
>  menu "Audio/Video compression chips"
> -	visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
>  
>  config VIDEO_SAA6752HS
>  	tristate "Philips SAA6752HS MPEG-2 Audio/Video Encoder"
> @@ -1701,7 +1694,6 @@ config VIDEO_SAA6752HS
>  endmenu
>  
>  menu "SDR tuner chips"
> -	visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
>  
>  config SDR_MAX2175
>  	tristate "Maxim 2175 RF to Bits tuner"
> @@ -1718,7 +1710,6 @@ config SDR_MAX2175
>  endmenu
>  
>  menu "Miscellaneous helper chips"
> -	visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
>  
>  source "drivers/media/i2c/cvs/Kconfig"
>  
> diff --git a/drivers/media/spi/Kconfig b/drivers/media/spi/Kconfig
> index 4656afae5bb4..da3e225d420d 100644
> --- a/drivers/media/spi/Kconfig
> +++ b/drivers/media/spi/Kconfig
> @@ -1,15 +1,11 @@
>  # SPDX-License-Identifier: GPL-2.0-only
>  if VIDEO_DEV && SPI
>  
> -comment "SPI I2C drivers auto-selected by 'Autoselect ancillary drivers'"
> -	depends on MEDIA_HIDE_ANCILLARY_SUBDRV && SPI
> -
>  menu "Media SPI Adapters"
>  
>  config CXD2880_SPI_DRV
>  	tristate "Sony CXD2880 SPI support"
>  	depends on DVB_CORE && SPI
> -	default m if !MEDIA_SUBDRV_AUTOSELECT
>  	help
>  	  Choose if you would like to have SPI interface support for Sony CXD2880.
>  
> 
> base-commit: aedd77ea8168f00687c1248cdf115071e869cf93


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/1] media: Don't hide I²C or SPI drivers by default
  2026-09-18  8:17 [PATCH 1/1] media: Don't hide I²C or SPI drivers by default Sakari Ailus
  2026-09-18  8:46 ` Hans Verkuil
@ 2026-09-19  7:10 ` Thorsten Leemhuis
  2026-09-20  2:03   ` Junjie Cao
  1 sibling, 1 reply; 7+ messages in thread
From: Thorsten Leemhuis @ 2026-09-19  7:10 UTC (permalink / raw)
  To: Sakari Ailus, linux-media
  Cc: Miguel Vadillo, Mauro Carvalho Chehab, Manuel Knitza,
	Antti Laakso, Mehdi Djait, Junjie Cao,
	Linux kernel regressions list

On 9/18/26 10:17, Sakari Ailus wrote:
> MEDIA_HIDE_ANCILLARY_SUBDRV Kconfig option was intended for working with
> sub-device and other helper driver autoselection in cases where the
> required drivers are known, e.g. for PCI cards where all the related
> components are mounted. This option, however, applied to e.g. all camera
> sensor and lens VCM drivers that are generally present in systems without
> being mounted on such a card. This leads to easily omitting required
> drivers.
> 
> Drop the MEDIA_HIDE_ANCILLARY_SUBDRV for I²C and SPI devices.

Hmmm, just wondering: Junjie's abandoned approach[1] had Fixes: and
stable tags to ensure it was backported, which sounded wise, as people
ran into problems that might or might not be considered regressions;
shouldn't this one ideally have those, too?

[1]
https://lore.kernel.org/all/20260913125345.588586-1-junjie.cao@intel.com/

Also wondering if the "olddefconfig" case on Arch was tested to ensure
we prevent more people running into problems that Junjie's fix linked to
(there was another one here:
https://bugzilla.kernel.org/show_bug.cgi?id=221983 ). But well, maybe
those were corner cases not worth thinking about to much -- or should we?

Ciao, Thorsten
> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
> ---
>  drivers/media/i2c/Kconfig | 11 +----------
>  drivers/media/spi/Kconfig |  4 ----
>  2 files changed, 1 insertion(+), 14 deletions(-)
> 
> diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig
> index 4d9946479160..9b28e91b8a67 100644
> --- a/drivers/media/i2c/Kconfig
> +++ b/drivers/media/i2c/Kconfig
> @@ -1010,14 +1010,12 @@ endmenu
>  # V4L2 I2C drivers that aren't related with Camera support
>  #
>  
> -comment "audio, video and radio I2C drivers auto-selected by 'Autoselect ancillary drivers'"
> -	depends on MEDIA_HIDE_ANCILLARY_SUBDRV
> +comment "audio, video and radio I2C drivers"
>  #
>  # Encoder / Decoder module configuration
>  #
>  
>  menu "Audio decoders, processors and mixers"
> -	visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
>  
>  config VIDEO_CS3308
>  	tristate "Cirrus Logic CS3308 audio ADC"
> @@ -1180,7 +1178,6 @@ config VIDEO_WM8775
>  endmenu
>  
>  menu "RDS decoders"
> -	visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
>  
>  config VIDEO_SAA6588
>  	tristate "SAA6588 Radio Chip RDS decoder support"
> @@ -1197,7 +1194,6 @@ config VIDEO_SAA6588
>  endmenu
>  
>  menu "Video decoders"
> -	visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
>  
>  config VIDEO_ADV7180
>  	tristate "Analog Devices ADV7180 decoder"
> @@ -1557,7 +1553,6 @@ source "drivers/media/i2c/cx25840/Kconfig"
>  endmenu
>  
>  menu "Video encoders"
> -	visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
>  
>  config VIDEO_ADV7170
>  	tristate "Analog Devices ADV7170 video encoder"
> @@ -1656,7 +1651,6 @@ config VIDEO_THS8200
>  endmenu
>  
>  menu "Video improvement chips"
> -	visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
>  
>  config VIDEO_UPD64031A
>  	tristate "NEC Electronics uPD64031A Ghost Reduction"
> @@ -1685,7 +1679,6 @@ config VIDEO_UPD64083
>  endmenu
>  
>  menu "Audio/Video compression chips"
> -	visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
>  
>  config VIDEO_SAA6752HS
>  	tristate "Philips SAA6752HS MPEG-2 Audio/Video Encoder"
> @@ -1701,7 +1694,6 @@ config VIDEO_SAA6752HS
>  endmenu
>  
>  menu "SDR tuner chips"
> -	visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
>  
>  config SDR_MAX2175
>  	tristate "Maxim 2175 RF to Bits tuner"
> @@ -1718,7 +1710,6 @@ config SDR_MAX2175
>  endmenu
>  
>  menu "Miscellaneous helper chips"
> -	visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
>  
>  source "drivers/media/i2c/cvs/Kconfig"
>  
> diff --git a/drivers/media/spi/Kconfig b/drivers/media/spi/Kconfig
> index 4656afae5bb4..da3e225d420d 100644
> --- a/drivers/media/spi/Kconfig
> +++ b/drivers/media/spi/Kconfig
> @@ -1,15 +1,11 @@
>  # SPDX-License-Identifier: GPL-2.0-only
>  if VIDEO_DEV && SPI
>  
> -comment "SPI I2C drivers auto-selected by 'Autoselect ancillary drivers'"
> -	depends on MEDIA_HIDE_ANCILLARY_SUBDRV && SPI
> -
>  menu "Media SPI Adapters"
>  
>  config CXD2880_SPI_DRV
>  	tristate "Sony CXD2880 SPI support"
>  	depends on DVB_CORE && SPI
> -	default m if !MEDIA_SUBDRV_AUTOSELECT
>  	help
>  	  Choose if you would like to have SPI interface support for Sony CXD2880.
>  
> 
> base-commit: aedd77ea8168f00687c1248cdf115071e869cf93


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/1] media: Don't hide I²C or SPI drivers by default
  2026-09-19  7:10 ` Thorsten Leemhuis
@ 2026-09-20  2:03   ` Junjie Cao
  2026-09-21  6:54     ` Sakari Ailus
  0 siblings, 1 reply; 7+ messages in thread
From: Junjie Cao @ 2026-09-20  2:03 UTC (permalink / raw)
  To: Thorsten Leemhuis
  Cc: Sakari Ailus, Miguel Vadillo, Mauro Carvalho Chehab,
	Manuel Knitza, Antti Laakso, Mehdi Djait, linux-media,
	regressions

On Sat, Sep 19, 2026 at 09:10:18AM +0200, Thorsten Leemhuis wrote:
> Also wondering if the "olddefconfig" case on Arch was tested to ensure
> we prevent more people running into problems that Junjie's fix linked to

Ran it: this patch on its base-commit, Arch's
config.x86_64 (7.2.4.arch1):

  olddefconfig, before: no VIDEO_INTEL_CVS line
  olddefconfig, after:  # CONFIG_VIDEO_INTEL_CVS is not set

The option has no default, so olddefconfig leaves it
off. With the patch, oldconfig prompts for it as (NEW)
and listnewconfig lists it.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/1] media: Don't hide I²C or SPI drivers by default
  2026-09-20  2:03   ` Junjie Cao
@ 2026-09-21  6:54     ` Sakari Ailus
  2026-09-21  7:16       ` Thorsten Leemhuis
  0 siblings, 1 reply; 7+ messages in thread
From: Sakari Ailus @ 2026-09-21  6:54 UTC (permalink / raw)
  To: Junjie Cao
  Cc: Thorsten Leemhuis, Miguel Vadillo, Mauro Carvalho Chehab,
	Manuel Knitza, Antti Laakso, Mehdi Djait, linux-media,
	regressions

Hi Junjie, Thorsten,

On Sun, Sep 20, 2026 at 10:03:47AM +0800, Junjie Cao wrote:
> On Sat, Sep 19, 2026 at 09:10:18AM +0200, Thorsten Leemhuis wrote:
> > Also wondering if the "olddefconfig" case on Arch was tested to ensure
> > we prevent more people running into problems that Junjie's fix linked to
> 
> Ran it: this patch on its base-commit, Arch's
> config.x86_64 (7.2.4.arch1):
> 
>   olddefconfig, before: no VIDEO_INTEL_CVS line
>   olddefconfig, after:  # CONFIG_VIDEO_INTEL_CVS is not set
> 
> The option has no default, so olddefconfig leaves it
> off. With the patch, oldconfig prompts for it as (NEW)
> and listnewconfig lists it.

Generally drivers are unselected by default and cvs is no exception.

What I think we could possibly do is to add to cvs Kconfig:

	default VIDEO_INTEL_IPU6

As the cvs driver is (at least right now) used with ipu6 driver only. That
being said, there are probably dozens of configuration options you need to
select to have a functional camera so doing this for cvs only won't make a
lot of difference. I presume it was just a coincidence this happened on
Arch.

This is still a configuration option that make oldconfig will ask about so
it won't be silently ignored as when MEDIA_HIDE_ANCILLARY_SUBDRV was
selected.

-- 
Kind regards,

Sakari Ailus

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/1] media: Don't hide I²C or SPI drivers by default
  2026-09-21  6:54     ` Sakari Ailus
@ 2026-09-21  7:16       ` Thorsten Leemhuis
  2026-09-22  6:38         ` Sakari Ailus
  0 siblings, 1 reply; 7+ messages in thread
From: Thorsten Leemhuis @ 2026-09-21  7:16 UTC (permalink / raw)
  To: Sakari Ailus, Junjie Cao
  Cc: Miguel Vadillo, Mauro Carvalho Chehab, Manuel Knitza,
	Antti Laakso, Mehdi Djait, linux-media, regressions

On 9/21/26 08:54, Sakari Ailus wrote:
> On Sun, Sep 20, 2026 at 10:03:47AM +0800, Junjie Cao wrote:
>> On Sat, Sep 19, 2026 at 09:10:18AM +0200, Thorsten Leemhuis wrote:
>>> Also wondering if the "olddefconfig" case on Arch was tested to ensure
>>> we prevent more people running into problems that Junjie's fix linked to
>>
>> Ran it: this patch on its base-commit, Arch's
>> config.x86_64 (7.2.4.arch1):
>>
>>   olddefconfig, before: no VIDEO_INTEL_CVS line
>>   olddefconfig, after:  # CONFIG_VIDEO_INTEL_CVS is not set
>>
>> The option has no default, so olddefconfig leaves it
>> off. With the patch, oldconfig prompts for it as (NEW)
>> and listnewconfig lists it.
> 
> Generally drivers are unselected by default and cvs is no exception.

Yup, sure, but it seems we here due to some oddity (details don't matter
much) ran into a situation that users perceive as regression (which
matters a lot).
> What I think we could possibly do is to add to cvs Kconfig:
> 
> 	default VIDEO_INTEL_IPU6
> 
> As the cvs driver is (at least right now) used with ipu6 driver only.

Due to what I wrote above I'd say: this sounds like a good solution that
has no significant downsides -- and avoids a problem for everyone that
manually configures their kernel in the future, which is a good thing,
too. And we can easily drop the default later if there is a strong need
(and then likely should add a hint to the help text which other symbols
are needed in case it doesn't have one already; didn't check)

Ciao, Thorsten

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 1/1] media: Don't hide I²C or SPI drivers by default
  2026-09-21  7:16       ` Thorsten Leemhuis
@ 2026-09-22  6:38         ` Sakari Ailus
  0 siblings, 0 replies; 7+ messages in thread
From: Sakari Ailus @ 2026-09-22  6:38 UTC (permalink / raw)
  To: Thorsten Leemhuis
  Cc: Junjie Cao, Miguel Vadillo, Mauro Carvalho Chehab, Manuel Knitza,
	Antti Laakso, Mehdi Djait, linux-media, regressions

Hi Thorsten,

On Mon, Sep 21, 2026 at 09:16:12AM +0200, Thorsten Leemhuis wrote:
> On 9/21/26 08:54, Sakari Ailus wrote:
> > On Sun, Sep 20, 2026 at 10:03:47AM +0800, Junjie Cao wrote:
> >> On Sat, Sep 19, 2026 at 09:10:18AM +0200, Thorsten Leemhuis wrote:
> >>> Also wondering if the "olddefconfig" case on Arch was tested to ensure
> >>> we prevent more people running into problems that Junjie's fix linked to
> >>
> >> Ran it: this patch on its base-commit, Arch's
> >> config.x86_64 (7.2.4.arch1):
> >>
> >>   olddefconfig, before: no VIDEO_INTEL_CVS line
> >>   olddefconfig, after:  # CONFIG_VIDEO_INTEL_CVS is not set
> >>
> >> The option has no default, so olddefconfig leaves it
> >> off. With the patch, oldconfig prompts for it as (NEW)
> >> and listnewconfig lists it.
> > 
> > Generally drivers are unselected by default and cvs is no exception.
> 
> Yup, sure, but it seems we here due to some oddity (details don't matter
> much) ran into a situation that users perceive as regression (which
> matters a lot).

It was really about this option being hidden by default so you couldn't
even select it. (It's no wonder: I had enabled EXPERT in my own .config,
quite possibly more than 10 years ago, to select things without much
thinking about it!)

> > What I think we could possibly do is to add to cvs Kconfig:
> > 
> > 	default VIDEO_INTEL_IPU6
> > 
> > As the cvs driver is (at least right now) used with ipu6 driver only.
> 
> Due to what I wrote above I'd say: this sounds like a good solution that
> has no significant downsides -- and avoids a problem for everyone that
> manually configures their kernel in the future, which is a good thing,
> too. And we can easily drop the default later if there is a strong need
> (and then likely should add a hint to the help text which other symbols
> are needed in case it doesn't have one already; didn't check)

I can post a patch. I think what also made a difference was that the CVS
chip was in a different menu because it's an I²C device.

-- 
Regards,

Sakari Ailus

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-09-22  6:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-18  8:17 [PATCH 1/1] media: Don't hide I²C or SPI drivers by default Sakari Ailus
2026-09-18  8:46 ` Hans Verkuil
2026-09-19  7:10 ` Thorsten Leemhuis
2026-09-20  2:03   ` Junjie Cao
2026-09-21  6:54     ` Sakari Ailus
2026-09-21  7:16       ` Thorsten Leemhuis
2026-09-22  6:38         ` Sakari Ailus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox