From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BFFE137F8CC for ; Mon, 5 Oct 2026 08:42:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791189744; cv=none; b=jdPO5vWta2FW4lV4HM8Kq4aNBrBNNB2vaaCOeGGBx5CygshuYTWOT6xJzmmz22oNubOy1SrPihLZCfjfPVtnqPDB3sFgBE7VXWwi0rMFA+1DRlrWDJkJRrIgsAS5MUAVcQm8utUYeSDaEKnhvEuKnAeTkis9z3mvxnAC9DfadH4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791189744; c=relaxed/simple; bh=ls3lahPTx7FJQF3KgIKsl3CzH0RWiIZuCu1angAJtsE=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=Q327aTE/0TlfEIxETciqdrtnOBYLXr0x+euuUiaDpAo/rMTb1bhlxlTdv4A4OAHfrlwS6iOcuFTBpFRlsiWrKGeO8+illIltoIF+akaf6SXnUCM+EG+mNgCmfhUPcngVItCOiwhgBj86DNc2OIDprKFi+N5pVWXF1SXDosrbkqQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tT/ygDLO; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="tT/ygDLO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9C57E1F000FF; Mon, 5 Oct 2026 08:42:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791189743; bh=pf5ymmryE6g7dxUenOT1Jq7hJRz7SKiqK0L5sFmcW5c=; h=Subject:To:Cc:From:Date; b=tT/ygDLOc7tJzftBEzsButF9CIG5ILiw19YdVuzjc8TvNzX/5Y8mWLBOpYhnNUz8j 8cDmziSXmkG7aszyV9Y+0iJ5HZH8z1E8Kc3YA53RlX/DN/4IybQSDdYa9srv47I4iD VhOyO/5ztJ624vTZToZX+2N8Jfrmp8HsbHa4tGiw= Subject: FAILED: patch "[PATCH] usb: ohci-spear: disable controller wakeup on removal" failed to apply to 5.10-stable tree To: mhun512@gmail.com,ae878000@gmail.com,gregkh@linuxfoundation.org,stable@kernel.org,stern@rowland.harvard.edu Cc: From: Date: Mon, 05 Oct 2026 10:42:03 +0200 Message-ID: <2026100503-protegee-laborer-f4f5@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit The patch below does not apply to the 5.10-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-5.10.y git checkout FETCH_HEAD git cherry-pick -x b1b0f8bdbbc891a4ee7f3b1a878c633e02b7bbeb # git commit -s git send-email --to '' --in-reply-to '2026100503-protegee-laborer-f4f5@gregkh' --subject-prefix 'PATCH 5.10.y' 'HEAD^..' Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From b1b0f8bdbbc891a4ee7f3b1a878c633e02b7bbeb Mon Sep 17 00:00:00 2001 From: Myeonghun Pak Date: Mon, 14 Sep 2026 21:20:10 -0400 Subject: [PATCH] usb: ohci-spear: disable controller wakeup on removal Probe enables controller wakeup after the OHCI core marks controllers with RemoteWakeupConnected as wakeup-capable. Removal does not undo this, so the wakeup source can remain attached after driver unbind. Disable controller wakeup after removing the HCD. This issue was identified during our ongoing static-analysis research while reviewing kernel code. Fixes: a6eeeb9f45b5 ("USB: Update USB default wakeup settings") Cc: stable Assisted-by: LLM Co-developed-by: Ijae Kim Signed-off-by: Ijae Kim Signed-off-by: Myeonghun Pak Acked-by: Alan Stern Link: https://patch.msgid.link/20260915012011.61874-4-mhun512@gmail.com Signed-off-by: Greg Kroah-Hartman diff --git a/drivers/usb/host/ohci-spear.c b/drivers/usb/host/ohci-spear.c index 6843d7cb3f9f..5aeabb051265 100644 --- a/drivers/usb/host/ohci-spear.c +++ b/drivers/usb/host/ohci-spear.c @@ -103,6 +103,7 @@ static void spear_ohci_hcd_drv_remove(struct platform_device *pdev) struct spear_ohci *sohci_p = to_spear_ohci(hcd); usb_remove_hcd(hcd); + device_wakeup_disable(hcd->self.controller); clk_disable_unprepare(sohci_p->clk); usb_put_hcd(hcd);