Linux USB
 help / color / mirror / Atom feed
From: Heikki Krogerus <heikki.krogerus@linux.intel.com>
To: Pengpeng Hou <hppiscas@163.com>
Cc: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org,
	linux-kernel@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH v2] usb: typec: hd3ss3220: select REGMAP_I2C
Date: Fri, 4 Dec 2026 14:54:36 +0100	[thread overview]
Message-ID: <axLGHLbErGlc0AYY@black.igk.intel.com> (raw)
In-Reply-To: <20261203033012.56278-1-hppiscas@163.com>

On Thu, Dec 03, 2026 at 11:30:12AM +0800, Pengpeng Hou wrote:
> 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>

Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.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

-- 
heikki

      parent reply	other threads:[~2026-12-04 13:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03  3:30 [PATCH v2] usb: typec: hd3ss3220: select REGMAP_I2C Pengpeng Hou
2026-12-03  3:32 ` sashiko-bot
2026-12-04 13:54 ` Heikki Krogerus [this message]

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=axLGHLbErGlc0AYY@black.igk.intel.com \
    --to=heikki.krogerus@linux.intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=hppiscas@163.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=stable@vger.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