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=1795937889; b=Vb2ctE4VDIVlOzQhiD5ffA83OWdRM31tZoE8cvw15dZ5vJKNneDTMNzKNIyQtV8o+evz 0Wn0fY6bsi2m9Gfh1IeSn68xuOEV9/C6fetWgEQdr0wiFsFNbvBK5BKnXe6t+4gVMXMH9 17JhVkGvASOSQZbVcbWKCEkjXSkf/NmvQAIkhfY3JConnGdvcXL/o30/s0PJ6kJJdEO3M qDIc8dnPS+yU/KgYijEc1Gbz8zTu43bRjcPh0YaVa0Nz5adLSY+Zb4cdsdehlMKdSWvEU +QXlO2S0bLRTjltCz/C5LI+Ma+goz8GWj0Nf5bBedLzsEteKCSXc1Qs1cPJvrQK7GFQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795937889; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=KWWk8PDpK6hgZPAqhISVrweOdRXoYj/oHBmyy2Cy1/c=; b=CNAKND3fWSIPsyJWJIBkVRZxMkxSB6SKHpT31KexTEntDhwxolV2LWmaZvy2inKlV5rn 9BodTQ9uVPiaLQ0PvHULp6s7DDjr5Y8Ha6HkjZezHJM2+fDbwVzBLZF4jfaA6j2CHKd6M qGyEMqRLz0IyayUuRWEQc6Vqx880zzLlHVRBdK6sKMM+HE5f9AE/BO4qRHduHlE6wcECw 4XkjPS9/ODn7KPE2exdtBWembzGXlWl+8ZYmCopk1YmoCTmBIBF2ybU6k79dG2jsuDBaW mmNS+dQsaZm/N8XfYCTasOhMq7Il8/TX0XPh1qczUs+vg3eGjVm/4yH5g+pFDyGjQUA== 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=hTZV151e; 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 C4123606A31C for ; Sun, 29 Nov 2026 07:38:09 +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=hTZV151e Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8B8E31F00896; Sun, 29 Nov 2026 07:38:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795937889; bh=KWWk8PDpK6hgZPAqhISVrweOdRXoYj/oHBmyy2Cy1/c=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=hTZV151ejr/7L9unq+V6Vkbys7X1u6BhSuuunmLFKtbATPUW3u+TJMZdOBBa36XXg z1WndUIf/ljcCbNwhbFhiFafA/Rc7dHEx3ZP9FKpDtVuHR30OFtkksJQdROxJ1FxYv Mo4oXFFOYq+nsnxOz43zNPy5HnkZhA3ne3V/eyQ6lyz8capfl1kkwzSyomvZqknW2i cTS9k9Z/3BKz5fgwrhlqEOeCtXHN1n+eIKY/WKlM8XhkdBJdvBQty01vGpAVuq8CTh K3BNs2cSQ9w03keG+nwuyaBoGXtYpgn7vUz+2YXq8lZ8kUlT+I5gYDPS2wGtgRPhBO zbBHQaNI6qBVw== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH] usb: dwc3: meson-g12a: disable the OTG ID interrupt at unbind Reply-To: sashiko-reviews@lists.linux.dev To: "Arina Kharlamova" Cc: linux-usb@vger.kernel.org In-Reply-To: <20261129-s2p-d88-v1-1-8cdfa0ca7bf8@mbzuai.ac.ae> References: <20261129-s2p-d88-v1-1-8cdfa0ca7bf8@mbzuai.ac.ae> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sun, 29 Nov 2026 07:38:09 +0000 X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list > From: Arina Kharlamova >=20 > The OTG ID interrupt is requested with devm and is only freed after > dwc3_meson_g12a_remove() returns, but remove() already powers off and > exits the PHYs and disables the glue clocks. An ID pin change in that > window runs dwc3_meson_g12a_irq_thread(), which switches the PHY mode > on PHYs that were exited and writes the glue registers with the clocks > off. >=20 > Keep the interrupt number and disable the interrupt at the start of > remove(). >=20 > Fixes: f90db10779ad ("usb: dwc3: meson-g12a: Add support for IRQ based OT= G switching") > Signed-off-by: Arina Kharlamova Sashiko has reviewed this patch and found no issues. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261129-s2p-d88-v1= -1-8cdfa0ca7bf8@mbzuai.ac.ae?part=3D1