From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 2CF418F74 for ; Sun, 16 Jul 2023 20:20:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A41F3C433C8; Sun, 16 Jul 2023 20:20:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1689538806; bh=UowwgpEwkT+uFVqkVPgYQjRJpRBSRfmaJHUk/KLsd0k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gKv1PnKUOW6NGEu6eC21hUi6ec/ueHKyqQqf/I9CcthGRMqN/sqwS/ce9ajVbcyP4 afZ/+rcSyUuZIX3vpb8VTScJeg0rnoUWi/c+YmBfOm9Jx58JsrH6bW3siyrV1bZK9U XHDMUC7ksGTAiZ+u3xrCZFPtbsM+7TcCSATXssB8= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Devi Priya , Kathiravan T , Konrad Dybcio , Bjorn Andersson , Sasha Levin Subject: [PATCH 6.4 582/800] clk: qcom: ipq5332: fix the order of SLEEP_CLK and XO clock Date: Sun, 16 Jul 2023 21:47:15 +0200 Message-ID: <20230716195002.603238366@linuxfoundation.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230716194949.099592437@linuxfoundation.org> References: <20230716194949.099592437@linuxfoundation.org> User-Agent: quilt/0.67 Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Kathiravan T [ Upstream commit 7510e80f4ac707efc7e964120525ef759a02f171 ] The order of DT_SLEEP_CLK and DT_XO are swapped and it is incorrect. Due to which the clocks for which the parent should be XO is having parent as SLEEP_CLK and vice versa. So fix the same by re-ordering the entries. Fixes: 3d89d52970fd ("clk: qcom: add Global Clock controller (GCC) driver for IPQ5332 SoC") Reported-by: Devi Priya Signed-off-by: Kathiravan T Reviewed-by: Konrad Dybcio Signed-off-by: Bjorn Andersson Link: https://lore.kernel.org/r/20230417105607.4091-1-quic_kathirav@quicinc.com Signed-off-by: Sasha Levin --- drivers/clk/qcom/gcc-ipq5332.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/qcom/gcc-ipq5332.c b/drivers/clk/qcom/gcc-ipq5332.c index b9ab67649130a..a75ab88ed14c6 100644 --- a/drivers/clk/qcom/gcc-ipq5332.c +++ b/drivers/clk/qcom/gcc-ipq5332.c @@ -20,8 +20,8 @@ #include "reset.h" enum { - DT_SLEEP_CLK, DT_XO, + DT_SLEEP_CLK, DT_PCIE_2LANE_PHY_PIPE_CLK, DT_PCIE_2LANE_PHY_PIPE_CLK_X1, DT_USB_PCIE_WRAPPER_PIPE_CLK, -- 2.39.2