Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1088255imu; Thu, 13 Dec 2018 09:11:05 -0800 (PST) X-Google-Smtp-Source: AFSGD/VzR2oWEdhWe8yBXikzsVdL0MZ3Fuq3dGUiUTH9DYndnlJ9FmwsgRXT4R76rFc9aUCvlH5g X-Received: by 2002:a17:902:7791:: with SMTP id o17mr23878634pll.60.1544721065646; Thu, 13 Dec 2018 09:11:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544721065; cv=none; d=google.com; s=arc-20160816; b=m52TKa+jul3PW4huO4q6ZC+fiUarjT5YHJQanVlunRyL+SmX/vzZhzhDs3orgeDSiD ZAvTnD5LSLKMQMqQui+BTgjTQIYWGsRVCIxQzl+Z0dT/kfgwDq1R/83FFYzkVZ9w5sTX kOdaxRENuvC07z2/YZjqEWsRC+a6XEfGbKO5lyDAUPDH2bUOEskV3wHJ4gTmxp4jdxEQ dzfTwoO8Y2zp2uPhmn0skUL3Y2seB0jqMGPQQhrjwNaTECegPg6sOsJsGrvxUjJvWDsK PlRBpVJQ/Tg/6yJXicAst4Ki/Z4d8rtQ8g9JtuSLrlTQVpGPCbC4hUpWNU6H7hUNU9LG carQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dmarc-filter:dkim-signature:dkim-signature; bh=U+kxhujP2rBQnf4A7rrA3tsKE1wUS7w6fev6RiAc+yY=; b=QdFxoXlTafdrg8M3OxIilhUvIUDvjfkHbFm0iZniAlLKWKOTMZRoNRfe4F9CaULozO xgxhujNHPP4RStkz+Xad8CRNxqLu+moDiYH+NMh4Duu4KNQeM3MZIX+FIlqmJ5XFewKH fqjrTgSvqXnWSIEuJd+adtbDodGCfg8zIuMFEwgNwt3DXfklvhPj+xX6AMPrtAflteEa U0VMPJpAifK8xgD+iLgfRui4ElnNAj+a0ZeQJE6YRuA6h9NLN5z8FWt3LMGzTBaF7xrP +O2Bu2X3Z82iChnG/3WlnSRZydtd5i7npeEIS8KX31VbG8fRbqz6ZRY10oij86LExJ9W yPBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=dY2fxuPN; dkim=pass header.i=@codeaurora.org header.s=default header.b=K7g7mBjN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i35si1917892plg.396.2018.12.13.09.10.40; Thu, 13 Dec 2018 09:11:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=dY2fxuPN; dkim=pass header.i=@codeaurora.org header.s=default header.b=K7g7mBjN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729020AbeLMRJX (ORCPT + 99 others); Thu, 13 Dec 2018 12:09:23 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:44440 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727775AbeLMRJW (ORCPT ); Thu, 13 Dec 2018 12:09:22 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id C8C04608FF; Thu, 13 Dec 2018 17:09:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1544720961; bh=7W2RS0AZlLIaSl6nh7HXG6MNVr2oYC/ut88J6IALeDk=; h=From:To:Cc:Subject:Date:From; b=dY2fxuPN0Qaslih9HtCb8E9XdZ22ECGEz2bHelXW/Xapro+ief3kjWpPPFQuDFdsU mLibpEpaW6/N6PH0DaX67yQFmPxKq8+NSFU8/H7VkIce3FUjEKfF6cIwvFpPD3rz5u DjMyHk3n40AspYg6GaOHiGwt7rQc/UfRMg3AGomw= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from jhugo-perf-lnx.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jhugo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 078DF608FF; Thu, 13 Dec 2018 17:09:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1544720960; bh=7W2RS0AZlLIaSl6nh7HXG6MNVr2oYC/ut88J6IALeDk=; h=From:To:Cc:Subject:Date:From; b=K7g7mBjN4Mz/OWZI0L6FnILK5BBHlStIfcJwncaI4UZqMWMaDvh+eUiPoSqQmLSZe eT4GCOCLXCESoTxB0DC+oU5VS9y3sK/5RQWYc1+UAMpoYJ8lHRBTU9AlnD9TOEieKQ oS5W98UIaE1CWPraUpTexIHbq5Bvos93YkIulmvk= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 078DF608FF Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=jhugo@codeaurora.org From: Jeffrey Hugo To: sboyd@kernel.org, andy.gross@linaro.org, david.brown@linaro.org, mturquette@baylibre.com Cc: bjorn.andersson@linaro.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, marc.w.gonzalez@free.fr, Jeffrey Hugo Subject: [PATCH v2] clk: qcom: Drop unused 8998 clock Date: Thu, 13 Dec 2018 10:09:09 -0700 Message-Id: <1544720949-18404-1-git-send-email-jhugo@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org gcc_lpass_trig_clk is not used downstream, therefore there is no reason to expect it to be needed for clients. Let's remove it because messing with the clock has been observed to cause Linux hangs when the qdss_clk is initialized by rpmcc. Signed-off-by: Jeffrey Hugo Reviewed-by: Marc Gonzalez --- v2: -corrected commit text per Marc -added Marc's reviewed-by drivers/clk/qcom/gcc-msm8998.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/drivers/clk/qcom/gcc-msm8998.c b/drivers/clk/qcom/gcc-msm8998.c index f3c2ab4..4b75a09 100644 --- a/drivers/clk/qcom/gcc-msm8998.c +++ b/drivers/clk/qcom/gcc-msm8998.c @@ -2005,19 +2005,6 @@ enum { }, }; -static struct clk_branch gcc_lpass_trig_clk = { - .halt_reg = 0x4701c, - .halt_check = BRANCH_HALT, - .clkr = { - .enable_reg = 0x4701c, - .enable_mask = BIT(0), - .hw.init = &(struct clk_init_data){ - .name = "gcc_lpass_trig_clk", - .ops = &clk_branch2_ops, - }, - }, -}; - static struct clk_branch gcc_mmss_noc_cfg_ahb_clk = { .halt_reg = 0x9004, .halt_check = BRANCH_HALT, @@ -2710,7 +2697,6 @@ enum { [GCC_HMSS_AT_CLK] = &gcc_hmss_at_clk.clkr, [GCC_HMSS_RBCPR_CLK] = &gcc_hmss_rbcpr_clk.clkr, [GCC_HMSS_TRIG_CLK] = &gcc_hmss_trig_clk.clkr, - [GCC_LPASS_TRIG_CLK] = &gcc_lpass_trig_clk.clkr, [GCC_MMSS_NOC_CFG_AHB_CLK] = &gcc_mmss_noc_cfg_ahb_clk.clkr, [GCC_MMSS_QM_AHB_CLK] = &gcc_mmss_qm_ahb_clk.clkr, [GCC_MMSS_QM_CORE_CLK] = &gcc_mmss_qm_core_clk.clkr, -- Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.