From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796233374; b=XT6oJa2PQWov7YQeAGiwq8h9blFZz8TC+UsUZDwExpeBZU/7zcM9FkggCJQDzaGzGxn2 qxh7dW4XzMJZdxlfQ97hMDk2lOItZlJqh/OgU9cGb5/ayn4t3fij9i1UUSRn6a5eqH2GN a/+S897pNyckBSulgy8WYYaSANf307PvWkRiDjMLXkwmp5dihr7QKVsLwJFJ8g8Km40nu JAIGRf+uyj8pNWUnW8leoymc2te2dfpLq49amSbFYtQ1n6BnyqXcbGoU6B4kIlubjr5to 1pEt9zDv9W2p8m6HFD9He0a6GpRhYlXokWHkufDXuJojj8onFM3uuxTiCpivhkIo6rw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796233374; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=F1M35vtW8VlLrTSM7LWxe3dZMggREGszQvf/UkjNlPM=; b=yx6OL0oIskTQneSQUqhCBMSaYihWUXjXpQNaDxmyhjoYtJ/S6I0gs61Cs4svbG3Mu/Yr 094/lXmwpojweUTRuLHw0EtmYNkF6D6DzT6/G+NU+Z3Vg4M6G/fT0y8V5ZDn3tYCBgVXN LCOTyXxVqp2IEl8vF1ad0TSPLJYxipEWg07MAmrKa0tFQ6DOfAE+dKoZPE0yr8tOFtWkr /0NhB2ArU6G9aPJMLcCGhPoafVVgzryxjq68CNM2UdGdvbE0LpegYO2FAqCNMBwRab6Qa 3akY8KxF4PTvhyvslPN28uEJVF96/9/jUi/pts2/iZGztasTCNfx8nwtoQX3B2WmnjA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=KRFS8I0x; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 21F33606A32C for ; Wed, 2 Dec 2026 17:42:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=KRFS8I0x Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8E2631F00893; Wed, 2 Dec 2026 17:42:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796233373; bh=F1M35vtW8VlLrTSM7LWxe3dZMggREGszQvf/UkjNlPM=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=KRFS8I0xggyIrTkgRgk9FlYB+saPibfbrzcYLVzUzCS0eFsrg7DeAtCy/HRvjXkFl zTabIVt9PB+sg2y56LquC2uGwaUdydmpOQXUwyRx9STyM89WgrTx5vtfXxiwB0kN2X rbbSDuMpkt2vx9v7kPubEUUhKbvUZaW4CvxpzCOQbB1ch9NZUDYokaqvJydf+Mlvl6 kNHtKRvBHkEgUSHD9HgdikjvuGGeFHSY+LZnmre4UkRLHwS5OXhAuUj2bcuCMZuP07 ScFiLXc8MvNLwdIkWMC4vSDpjzrjfOYeyL9bs/86kNwLTjU69KuOiKZ0uzLLBucRxS Wsfr3O7iothZw== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v2] usb: typec: rt1719: unregister the port on probe error Reply-To: sashiko-reviews@lists.linux.dev To: "Cong Nguyen" Cc: linux-usb@vger.kernel.org In-Reply-To: <20261202173427.3634324-1-congnt264@gmail.com> References: <20261202173427.3634324-1-congnt264@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Wed, 02 Dec 2026 17:42:52 +0000 X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list > If rt1719_init_attach_state() or rt1719_irq_init() fails, the probe > error path puts the role switch but never unregisters the typec port, > or a partner that rt1719_init_attach_state() may have registered. >=20 > Unregister the partner and the port in the error path. >=20 > Cc: stable@vger.kernel.org > Fixes: 25d29b980912 ("usb: typec: rt1719: Add support for Richtek RT1719") > Signed-off-by: Cong Nguyen Sashiko has reviewed this patch and found no issues. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261202173427.3634= 324-1-congnt264@gmail.com?part=3D1