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 8EA01534460 for ; Tue, 8 Sep 2026 12:55:22 +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=1788872123; cv=none; b=shVdmsdH8iB/dNUFEzxxECDwYDJ27giGoCBCczB6wXKvxDWFMvJulLKtg7Q0AdUJGvZP3fomB+WQk/8x1S2OnxvoOoyAgIoeRtRZGtVuVw3QS6f1bRAHVE3GU93DdWM09zrobs/e6P/ofQEBAPYj+vIUXtlr56hYWCPaJ8vgvBs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788872123; c=relaxed/simple; bh=AJ30bO6Pk3QEtFomHlxznCvfy2V095sj1NpRtW0H0dc=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=QPYQJ3hmq0xkA+1lr7NQ/nOk9DHZUMWXx6bJDaRHm/dJ7SgzHQvbBumJ+qwpZdUpA3stvCFIpczIBnUvbRGco9SjXHVyvWn/3mqSXRWbqvEFJzkstXq+PMXTTDRXVdfoXTgqS0GbP5BTb1LBMWizk9cmClQUqNI9yZECVxYkb5g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XePcjfmI; 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="XePcjfmI" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9146C1F00A3A; Tue, 8 Sep 2026 12:55:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1788872122; bh=bjtDwPJb+Zxbw54DEiBvR6lVZavjaaXwCwyTmRTGP8s=; h=Subject:To:Cc:From:Date; b=XePcjfmIyy3SpVMhmEqjhjhCpyuzm/Xi90+Kgbt3bDNX126liJvRm22zbyyIHAVAw f0yTPkW3WNQRfL8S1ZcEB0IDGgwdtFI+oD1O/szN2iC+CiR9IAy6oHImi8UuyFxNEj vgzjCH2kPdTvllf0IDUdAPk0KXZdV4Yiw9QH5s54= Subject: FAILED: patch "[PATCH] spi: bcm63xx: disable clock on resume failure" failed to apply to 5.15-stable tree To: pengcan@kylinos.cn,broonie@kernel.org Cc: From: Date: Tue, 08 Sep 2026 14:46:43 +0200 Message-ID: <2026090843-affiliate-underfed-18c3@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.15-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.15.y git checkout FETCH_HEAD git cherry-pick -x 2b62c2c134fa32d9d3a9e7323c8ac74518eeb4ac # git commit -s git send-email --to '' --in-reply-to '2026090843-affiliate-underfed-18c3@gregkh' --subject-prefix 'PATCH 5.15.y' 'HEAD^..' Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ From 2b62c2c134fa32d9d3a9e7323c8ac74518eeb4ac Mon Sep 17 00:00:00 2001 From: Can Peng Date: Tue, 4 Aug 2026 15:18:31 +0800 Subject: [PATCH] spi: bcm63xx: disable clock on resume failure bcm63xx_spi_resume() enables the controller clock before restarting the SPI controller queue. If spi_controller_resume() fails, the function currently reports success and leaves the clock enabled. Propagate the error and disable the clock before returning. Fixes: b42dfed83d95 ("spi: add Broadcom BCM63xx SPI controller driver") Cc: stable@vger.kernel.org Signed-off-by: Can Peng Link: https://patch.msgid.link/20260804071831.860784-1-pengcan@kylinos.cn Signed-off-by: Mark Brown diff --git a/drivers/spi/spi-bcm63xx.c b/drivers/spi/spi-bcm63xx.c index 8cef725aab26..1d8e257bad30 100644 --- a/drivers/spi/spi-bcm63xx.c +++ b/drivers/spi/spi-bcm63xx.c @@ -653,7 +653,11 @@ static int bcm63xx_spi_resume(struct device *dev) if (ret) return ret; - spi_controller_resume(host); + ret = spi_controller_resume(host); + if (ret) { + clk_disable_unprepare(bs->clk); + return ret; + } return 0; }