From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.175.65.13 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796392480; b=uxhpEysmf/BZ8UzDXfguM4cg1mg9MfnZxCdK7QYZos5nmv4EhwlYnKQ6mlWIUgpwYOLr 2rSByfA6I5/rFLanQZy748i2splFW0C8+Byq+6U5E1j7LvCEXRv+SO/2DTmj7iVBF9KUD YotRZFojbm1kwmgwOxjhFTRvsp4wIKjBqYGmGrjsn9QRX4pEMhBUZjoXFiyIq6m6b/+B5 wFBVf45yHayZcSJJQmDm7jFMqX19K/ct5os+vZC3h4woQesuZQ0gDIoiq3Of3AOvVFgn0 39/+SfxSM5xjgcAaxAcGtg95t7gumj5pl+iX3zAYwmqPqFplo5GQvQhQ+pB3mEnZdmA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796392480; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Date:From:To: Cc:Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; bh=1SHykuOC2gw+xtHWWbpJLYL4PQwM6MWl2vYGLFYT/Rc=; b=FvHh8loNidSL8AQ5uwCl2ppYWl/A7CpEot3MUZNRSJMdPS46BL3zUYBWfo6PX+NJ6xr9 C2Y/6y13hO23a3grjTVMPfGPOd0WCD8w5/X7CpxiZ5TZe9PTRCLLxMKRJz5qwiOgC354f P/6mA5DDQEMjVjasxbEsC4t5id8TYClMKloeSE8OaiZt0R965cvJoDbEZV0GyTxb9EGN3 ojSzoVcrAEgM/3soLy7LVjGHwSBdtzNidMsWo8o1ZSVRE223nIn9Y1jtNu2PUQ8KDR/DK mMl1Yg/FYLQcbMNymUeF0s5d5EtCPTEZurht3tjCFaRSD6uy6gGLalrmN1QY7kRUyhw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=FjatKdSV; arc=none smtp.remote-ip=198.175.65.13 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3C0DE606A681; Fri, 4 Dec 2026 13:54:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3C0DE606A681 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=FjatKdSV DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796392480; x=1827928480; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=1SHykuOC2gw+xtHWWbpJLYL4PQwM6MWl2vYGLFYT/Rc=; b=FjatKdSVpJyRiGygz0DsGSUwp2DI9IbRi9OFwAqlkquV4LEOq2CeHmvI 8oeeQmx1fyOdsdg4CZqwy4BPQcXQvo1wWk9RlOFDyvB1C28pnrnHye3i7 56x6TH8xkq4reGYlyngnFCnPCnOFndWkO7+5uerhBYHTxw1dJlKDQDQxn 3hs/BqTUxzvbPe4ZDOHhbN/AOQHMU4yGxMrmrHVzvXCcS7kajkNcThw/k t0jl4NhSFlF9sOA7INuEFPxmLWO+6iGyUgpQOmOuvlVdIuXJnT/SF9Jqt p1mi4KSzfeuphZTh7V7Vnq0N2dcv14U20xUJ8XXP/jCm0+jVP8gYqiVkh g==; X-CSE-ConnectionGUID: 1T2k6vIyTWCxSSNXFrZ+FA== X-CSE-MsgGUID: ClPUkNwAR0mn1FF2u5/Emg== X-IronPort-AV: E=McAfee;i="6800,10657,11986"; a="5289675" X-IronPort-AV: E=Sophos;i="6.29,78,1794902400"; d="scan'208";a="5289675" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2026 05:54:39 -0800 X-CSE-ConnectionGUID: 6XsFg+4/T0e5yKGCpvhUAw== X-CSE-MsgGUID: 2z+9342QT6ieubAgZKbrzw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.29,78,1794902400"; d="scan'208";a="14204003" Received: from black.igk.intel.com ([10.91.253.5]) by fmviesa008.fm.intel.com with ESMTP; 04 Dec 2026 05:54:37 -0800 Received: by black.igk.intel.com (Postfix, from userid 1008) id 61BE698; Fri, 04 Dec 2026 14:54:36 +0100 (CET) Date: Fri, 4 Dec 2026 14:54:36 +0100 From: Heikki Krogerus To: Pengpeng Hou 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 Message-ID: References: <20261203033012.56278-1-hppiscas@163.com> X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Reviewed-by: Heikki Krogerus > --- > 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