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 4765248F85E; Sat, 12 Sep 2026 18:25:39 +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=1789237543; cv=none; b=cYM81yHDyQiUoMIrALJ3JumLa7Xf9EmC+dveRDYX9iM+qFRHHnZPM/Qw9Ed/sdewEKVwSdDiKO+TgnwBG+yJK1iQrggztfUzwMlIS27wz2YhyvYGEVgPLdASs1ISGhNaQRjmJOiswLjSU9r9EqtIj5VQj598FzBvK2cvSNe4J7Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789237543; c=relaxed/simple; bh=sLuV5qRxmHtp0tN56gtUFQgkr19qRlMQsKt8YYNyuWE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=i+rQHgsNZcCl2f/aOqHOINuIdfQ5fTfnkJU3JKa9U6XEwpBwzcYvwnYjASwaKGO8aMIGx4lQBd9GZvc83Wu/Aa4gRMYk3LytpLwJ561ZkO/V8ngtP8YVgfBDGO+8vdWLqpA21bJacEiuLoiBiahauRti8mMmjQ7vO2uB28qiyY8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=h/A0BRs0; 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="h/A0BRs0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 48D0C1F000FF; Sat, 12 Sep 2026 18:25:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789237539; bh=GmqLEo1KXwTs0hnQ17mJQ7LoImJOy7jIzyAAvBQ8Mqo=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=h/A0BRs0xQjwUL7PfOtMdhNsKJ6ZZxUiT5OEv9k4wnuFDHTWoBo15JXftWhek3b8U HGxLB2N0nuxos/WiL6FHbVXWzE3AK4rSyl79lpjPnbAflayqRdhwrj5UwhzJr0aZq7 AjVbOb+KfwYcILs7s3BqY/8v5eG+hO1KhnC2+a4w= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Konrad Dybcio , Stephan Gerhold , Bjorn Andersson Subject: [PATCH 5.15 279/935] clk: qcom: gcc-msm8939: Fix enable_reg for gcc_blsp1_sleep_clk Date: Sat, 12 Sep 2026 08:55:09 +0200 Message-ID: <20260912065533.219370248@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260912065526.833703348@linuxfoundation.org> References: <20260912065526.833703348@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Stephan Gerhold commit fc611445b021262b0d4ace6f716a360663816287 upstream. MSM8939 is similar to MSM8916, where the GCC_BLSP1_SLEEP_CBCR register is read-only and only has the CLK_OFF bit to check if the clock is running. This is a shared vote clock, the correct way to enable it is to vote for BLSP1_SLEEP_CLK_ENA (BIT(9)) in GCC_APCS_CLOCK_BRANCH_ENA_VOTE (0x45004). Cc: stable@vger.kernel.org Fixes: 1664014e4679 ("clk: qcom: gcc-msm8939: Add MSM8939 Generic Clock Controller") Reviewed-by: Konrad Dybcio Signed-off-by: Stephan Gerhold Link: https://lore.kernel.org/r/20260706-qcom-clk-mdm9607-fixes-v2-2-745565101869@linaro.org Signed-off-by: Bjorn Andersson Signed-off-by: Greg Kroah-Hartman --- drivers/clk/qcom/gcc-msm8939.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- a/drivers/clk/qcom/gcc-msm8939.c +++ b/drivers/clk/qcom/gcc-msm8939.c @@ -1874,9 +1874,10 @@ static struct clk_branch gcc_blsp1_ahb_c static struct clk_branch gcc_blsp1_sleep_clk = { .halt_reg = 0x01004, + .halt_check = BRANCH_HALT_VOTED, .clkr = { - .enable_reg = 0x01004, - .enable_mask = BIT(0), + .enable_reg = 0x45004, + .enable_mask = BIT(9), .hw.init = &(struct clk_init_data){ .name = "gcc_blsp1_sleep_clk", .ops = &clk_branch2_ops,