* [PATCH] media: maxim-serdes: select REGMAP_I2C
@ 2026-11-30 13:00 Pengpeng Hou
0 siblings, 0 replies; only message in thread
From: Pengpeng Hou @ 2026-11-30 13:00 UTC (permalink / raw)
To: cosmin.tanislav; +Cc: mchehab, linux-media, linux-kernel, hppiscas
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-30 13:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-30 13:00 [PATCH] media: maxim-serdes: select REGMAP_I2C Pengpeng Hou
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®