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 9CAF253A89A for ; Tue, 8 Sep 2026 12:55:19 +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=1788872120; cv=none; b=qOjkBfh/zAj5itH0jWIN0jyrtaqRv0o6Y0W7+qJS/T13syTyj2Aa7YUNjdA1LNr9NwC9vLyVzgocL/EQdGxWwmLf2mSOQ2NiZGJvhz8TxbDK+psle8i9oH5f0U2kpr0rev4LWvZwyu27lD1m0bD4ufG95wvuOLrrW7SahaUJBY4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788872120; c=relaxed/simple; bh=nmr8gvt1TtdRGWBuVmymPhS7I/k7cQucdL+r0jyGyTE=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=kM4tvt2UlktSail1wapf5AlB7vhwmL4n8MDsYHJSmMuG2OpHRyUVOH625ZaxyWQ/3xTRj3GIucCySKpzcGPxVwhMyNvBiVp7V7+zkncrP20TqdczC118up2qGedrrP8k1PmXEcNp5nokPQidPmlQ+82hiod+FiNVa2hmM59ZNZM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XQnW7mZt; 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="XQnW7mZt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B141E1F00A3A; Tue, 8 Sep 2026 12:55:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1788872119; bh=u8fkNGuSUOByLC488o80ECJmKOT/4CcznqgXE++6Z2A=; h=Subject:To:Cc:From:Date; b=XQnW7mZtplmcbMMNpbJNHxH56pBdOvGqtM61DCCbQqfh+wxO87WP4wM+bvtxFJa66 b8hIQnXc9g68dVncT9Usy4WtTUkseKtIVkx1WinYi91NIlVGRg543sUgKi07F4uF3s h/SPAxqw2MhA13X1cSUxzgD6oQ41UbKTIQTIZ3l0= Subject: FAILED: patch "[PATCH] spi: bcm63xx-hsspi: disable clocks on resume failure" failed to apply to 5.15-stable tree To: pengcan@kylinos.cn,broonie@kernel.org,kursad.oney@broadcom.com Cc: From: Date: Tue, 08 Sep 2026 14:46:32 +0200 Message-ID: <2026090832-duration-catering-fe4f@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 3b0cee02664041aea7e4f787c66cb86c82eb4e97 # git commit -s git send-email --to '' --in-reply-to '2026090832-duration-catering-fe4f@gregkh' --subject-prefix 'PATCH 5.15.y' 'HEAD^..' Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ From 3b0cee02664041aea7e4f787c66cb86c82eb4e97 Mon Sep 17 00:00:00 2001 From: Can Peng Date: Tue, 4 Aug 2026 15:20:17 +0800 Subject: [PATCH] spi: bcm63xx-hsspi: disable clocks on resume failure bcm63xx_hsspi_resume() enables the HSSPI clock, and optionally the PLL clock, before restarting the SPI controller queue. If spi_controller_resume() fails, the function currently reports success and leaves those clocks enabled. Propagate the error and disable the clocks before returning. Fixes: 142168eba9dc ("spi: bcm63xx-hsspi: add bcm63xx HSSPI driver") Cc: stable@vger.kernel.org Signed-off-by: Can Peng Reviewed-by: Kursad Oney Link: https://patch.msgid.link/20260804072017.860974-1-pengcan@kylinos.cn Signed-off-by: Mark Brown diff --git a/drivers/spi/spi-bcm63xx-hsspi.c b/drivers/spi/spi-bcm63xx-hsspi.c index 37b3534d0b0a..633164e5a856 100644 --- a/drivers/spi/spi-bcm63xx-hsspi.c +++ b/drivers/spi/spi-bcm63xx-hsspi.c @@ -919,7 +919,13 @@ static int bcm63xx_hsspi_resume(struct device *dev) } } - spi_controller_resume(host); + ret = spi_controller_resume(host); + if (ret) { + if (bs->pll_clk) + clk_disable_unprepare(bs->pll_clk); + clk_disable_unprepare(bs->clk); + return ret; + } return 0; }