From: Pengpeng Hou <hppiscas@163.com>
To: cosmin.tanislav@analog.com
Cc: mchehab@kernel.org, linux-media@vger.kernel.org,
linux-kernel@vger.kernel.org, hppiscas@163.com
Subject: [PATCH] media: maxim-serdes: select REGMAP_I2C
Date: Mon, 30 Nov 2026 21:00:59 +0800 [thread overview]
Message-ID: <20261130130059.78050-1-hppiscas@163.com> (raw)
The MAX9296A, MAX96717 and MAX96724 drivers initialize I2C regmaps,
but their common VIDEO_MAXIM_SERDES dependency does not select
REGMAP_I2C. Enabling one of these devices without an unrelated I2C
regmap consumer therefore leaves the required transport
implementation unavailable.
Select REGMAP_I2C from VIDEO_MAXIM_SERDES, which already depends on
I2C and is selected by all three devices. This keeps the shared
requirement in one place.
The issue was found by our static-analysis tool and manually reviewed.
Fixes: 64f76d5d9fd1 ("media: i2c: maxim-serdes: add MAX9296A driver")
Fixes: ea15bcd94f0f ("media: i2c: maxim-serdes: add MAX96717 driver")
Fixes: bccc36c35947 ("media: i2c: maxim-serdes: add MAX96724 driver")
Signed-off-by: Pengpeng Hou <hppiscas@163.com>
---
AI assistance: gpt 5 (patch preparation and review).
drivers/media/i2c/maxim-serdes/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/i2c/maxim-serdes/Kconfig b/drivers/media/i2c/maxim-serdes/Kconfig
index d0c70d6..8857820 100644
--- a/drivers/media/i2c/maxim-serdes/Kconfig
+++ b/drivers/media/i2c/maxim-serdes/Kconfig
@@ -9,6 +9,7 @@ config VIDEO_MAXIM_SERDES
select MEDIA_CONTROLLER
select V4L2_FWNODE
select VIDEO_V4L2_SUBDEV_API
+ select REGMAP_I2C
help
This driver supports the Maxim GMSL2/3 common Serializer and
Deserializer framework.
base-commit: fe6ff8d5d675c01793b9f051d16055dd4aa75244
reply other threads:[~2026-11-30 13:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20261130130059.78050-1-hppiscas@163.com \
--to=hppiscas@163.com \
--cc=cosmin.tanislav@analog.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.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®