From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: Linux Media Mailing List <linux-media@vger.kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Hans Verkuil <hans@jjverkuil.nl>,
Linus Torvalds <torvalds@linux-foundation.org>,
Mauro Carvalho Chehab <mchehab+huawei@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH 1/1] Revert "media: Don't hide I²C or SPI drivers by default"
Date: Tue, 27 Oct 2026 12:19:46 +0200 [thread overview]
Message-ID: <20261027101946.GA2106796@killaraus.ideasonboard.com> (raw)
In-Reply-To: <20261027100916.4053512-1-sakari.ailus@linux.intel.com>
On Tue, Oct 27, 2026 at 12:09:16PM +0200, Sakari Ailus wrote:
> This reverts commit 3bf8c26a085c7b00dbec67a919b93fa8b7ad70e0.
>
> In order to avoid exposing fairly rarely needed drivers to ordinary users,
> revert this patch. People needing these drivers will need to enable
> CONFIG_EXPERT until we have a better solution for this.
>
> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
This is a low-energy short term workaround that will give us time to
find a better solution.
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
> drivers/media/i2c/Kconfig | 11 ++++++++++-
> drivers/media/spi/Kconfig | 4 ++++
> 2 files changed, 14 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig
> index 7de2d095c969..11c30252540e 100644
> --- a/drivers/media/i2c/Kconfig
> +++ b/drivers/media/i2c/Kconfig
> @@ -1042,12 +1042,14 @@ endmenu
> # V4L2 I2C drivers that aren't related with Camera support
> #
>
> -comment "audio, video and radio I2C drivers"
> +comment "audio, video and radio I2C drivers auto-selected by 'Autoselect ancillary drivers'"
> + depends on MEDIA_HIDE_ANCILLARY_SUBDRV
> #
> # 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"
> @@ -1210,6 +1212,7 @@ config VIDEO_WM8775
> endmenu
>
> menu "RDS decoders"
> + visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
>
> config VIDEO_SAA6588
> tristate "SAA6588 Radio Chip RDS decoder support"
> @@ -1226,6 +1229,7 @@ config VIDEO_SAA6588
> endmenu
>
> menu "Video decoders"
> + visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
>
> config VIDEO_ADV7180
> tristate "Analog Devices ADV7180 decoder"
> @@ -1585,6 +1589,7 @@ 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"
> @@ -1683,6 +1688,7 @@ config VIDEO_THS8200
> endmenu
>
> menu "Video improvement chips"
> + visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
>
> config VIDEO_UPD64031A
> tristate "NEC Electronics uPD64031A Ghost Reduction"
> @@ -1711,6 +1717,7 @@ 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"
> @@ -1726,6 +1733,7 @@ config VIDEO_SAA6752HS
> endmenu
>
> menu "SDR tuner chips"
> + visible if !MEDIA_HIDE_ANCILLARY_SUBDRV
>
> config SDR_MAX2175
> tristate "Maxim 2175 RF to Bits tuner"
> @@ -1742,6 +1750,7 @@ 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 da3e225d420d..4656afae5bb4 100644
> --- a/drivers/media/spi/Kconfig
> +++ b/drivers/media/spi/Kconfig
> @@ -1,11 +1,15 @@
> # 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: f39567cc92272f987c056d8c92f7c93f3fdf53ef
> prerequisite-patch-id: a907c42a90ccc410e6fffdee8c9300233a5cd4be
> prerequisite-patch-id: 82ecd20999da94a7472cd1061a0fdf8cffbac325
> prerequisite-patch-id: 7d09c7afa4c3d4109642db3fd8435b21605854c6
> prerequisite-patch-id: f9e361e419752c2c3b2d845b535e33407c7544f6
> prerequisite-patch-id: 48a068cfdcbf7d53806dd8ff9e48f5de529fc67c
> prerequisite-patch-id: ba262f258d655a87b99432ebce1e579594a16950
> prerequisite-patch-id: 64c1f90be9a61ce4b6ee3988606ab0a24e630d42
> prerequisite-patch-id: 69ddc210ad98238341ef358dfddb0a42f20b9ea0
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2026-10-27 10:19 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-24 16:50 [GIT PULL for v7.4] media updates Mauro Carvalho Chehab
2026-10-25 5:51 ` pr-tracker-bot
2026-10-26 17:34 ` Linus Torvalds
2026-10-26 18:24 ` Sakari Ailus
2026-10-26 18:53 ` Linus Torvalds
2026-10-26 23:56 ` Mauro Carvalho Chehab
2026-10-27 0:04 ` Mauro Carvalho Chehab
2026-10-27 7:37 ` Laurent Pinchart
2026-10-27 8:01 ` Mauro Carvalho Chehab
2026-10-27 10:09 ` [PATCH 1/1] Revert "media: Don't hide I²C or SPI drivers by default" Sakari Ailus
2026-10-27 10:19 ` Laurent Pinchart [this message]
2026-10-27 11:03 ` Sakari Ailus
2026-10-26 19:13 ` [GIT PULL for v7.4] media updates Laurent Pinchart
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=20261027101946.GA2106796@killaraus.ideasonboard.com \
--to=laurent.pinchart@ideasonboard.com \
--cc=akpm@linux-foundation.org \
--cc=gregkh@linuxfoundation.org \
--cc=hans@jjverkuil.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab+huawei@kernel.org \
--cc=sakari.ailus@linux.intel.com \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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
all inboxes | Powered by JetHome®