mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] usb: typec: hd3ss3220: select REGMAP_I2C
@ 2026-12-03  3:30 Pengpeng Hou
  0 siblings, 0 replies; only message in thread
From: Pengpeng Hou @ 2026-12-03  3:30 UTC (permalink / raw)
  To: heikki.krogerus; +Cc: Pengpeng Hou, gregkh, linux-usb, linux-kernel, stable

HD3SS3220 initializes an I2C regmap in probe. Select REGMAP_I2C so that
enabling the driver also builds the transport that provides that
initialization.

The issue was found by our static-analysis tool and manually reviewed.

Fixes: 1c48c759ef4b ("usb: typec: driver for TI HD3SS3220 USB Type-C DRP port controller")
Cc: stable@vger.kernel.org
Signed-off-by: Pengpeng Hou <hppiscas@163.com>
---
Changes since v1:
Mark the fix for stable, as Heikki requested.
Previous version: https://lore.kernel.org/r/20261130125841.77570-1-hppiscas@163.com

Codex assisted with patch preparation and the changelog.
Current review: Codex (Assisted-by: gpt 5).
Static review only; this revision was not built.

 drivers/usb/typec/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/typec/Kconfig b/drivers/usb/typec/Kconfig
index 2f80c2792dbdaf8bc7e161924326eb9230569a76..98c7aa25545b69157f86e21f5aea14f6ae2b1a6d 100644
--- a/drivers/usb/typec/Kconfig
+++ b/drivers/usb/typec/Kconfig
@@ -81,6 +81,7 @@ config TYPEC_HD3SS3220
 	tristate "TI HD3SS3220 Type-C DRP Port controller driver"
 	depends on I2C
 	depends on USB_ROLE_SWITCH
+	select REGMAP_I2C
 	help
 	  Say Y or M here if your system has TI HD3SS3220 Type-C DRP Port
 	  controller driver.

base-commit: 693c2e04e3f1d4c59af236e1211b7b8cb165a790


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-12-03  3:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-03  3:30 [PATCH v2] usb: typec: hd3ss3220: 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®