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 96E62545D92 for ; Tue, 8 Sep 2026 12:55:15 +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=1788872116; cv=none; b=IMtXZmICKdy4Ks1Y75hLTsnyqVA9rZ94bq2VY7uPBbDvZcXmfnJg3wZfd2TzkHb3UrGsDcKhFl6V0NXXJCyU7CTbXNUUFEYkYeZLgKJOI1nK/HN3G+CY2JFj618+OHSaHg2IfyLiFZARK3gIHevfl/H/zEiOwlERJJmSsFdgqoo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788872116; c=relaxed/simple; bh=8PJgUACykSd1H0pY8vNfQ7nRU9QOvuQLw+ULnEQ0OvQ=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=CWhbwqeGUzYbbBQzXGOEwUIaDp06zWIGCe5NXgEc2DJOj8QKnBqFQE4snICCvDI1U+rNOArL+XW4ITBN3H9WzUBVFrXB6/ah8U3RWU7QTvMBrEM/hPSMRkhHD0Gj5Gq6xTCmOWZKvBJi49gHz8PS2rdqFd8XecDEToaC2+h9Gog= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=fmSCmoo6; 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="fmSCmoo6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ADB371F00A3A; Tue, 8 Sep 2026 12:55:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1788872115; bh=fxVHTK3nhIxaYhM3o7w6n+Gng8cmWCzDHqOULiwSt6M=; h=Subject:To:Cc:From:Date; b=fmSCmoo6OmMu4bpjhrfLJrsJ60+SXVBpW5r4u/h7zy2kEMnv55w5CWW2OwaaEtaHE 3EA808DqHp/2Ijow3PorrgWw5IWe/62Ml1dRhZWgeI+/BIbiOMC7i4NhFhg+V6VL4h WSI/ko3gXoL3r7YpYHRtXENYMyj8FlvHWkVAYjgM= Subject: FAILED: patch "[PATCH] spi: bcm63xx-hsspi: disable clocks on resume failure" failed to apply to 5.10-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-pout-curve-a0f8@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 3b0cee02664041aea7e4f787c66cb86c82eb4e97 # git commit -s git send-email --to '' --in-reply-to '2026090832-pout-curve-a0f8@gregkh' --subject-prefix 'PATCH 5.10.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; }