Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1060004imu; Thu, 13 Dec 2018 08:45:43 -0800 (PST) X-Google-Smtp-Source: AFSGD/Uw55fyyXqMDl+c2Emc0OK4nzt7Sc71yXBQkJlm0qu2C4r4h4b9jXXqv2AFjRoF8p4rWpmD X-Received: by 2002:a62:db41:: with SMTP id f62mr25156641pfg.123.1544719543727; Thu, 13 Dec 2018 08:45:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544719543; cv=none; d=google.com; s=arc-20160816; b=GbO4dn1jpZSVwjgtZrZW1NfO+qH7NfM17qvEQS5fPG1P0xe27F1yBnARaYWKcFv2QW 33YnMHkKs+UsFRgVzqKokrbkyMhO1DE20TrSAdXdDnH6J2rHqI7Y0vPrpd1dCd0Y0FFK CT6eWq+amGrVXIxufbC3P54x9Tljex0/q4bVJyGdtGX2wrj3ev4EzZEuxWZTe4omh+Tq AhIvjsCH/zO1c+xFCbQqgGtrzYMcU6Zyow5x0NqEHF+NtSe0+YhhtHIM8bzkNCAL73Wp D+xSdIFnRjrCW/v2551aJPBx4+1dUw39MeIheHzSAMR/mxHilF5d6p2VH+k+riV64+RW z2rw== 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=TJ0ZNc0CzO7dt5ytAg9IguESohoGkGqXhxRMZKoFJWg=; b=B893PawEA7UAYVVlJ+njGm1tSnxjQKueGGXkpk1n5Gr0iisFoKcppy5GIZ5isiUQsK MAzMbpaNTyAK9jeqcOoGZzAs9feFKgHojgCfaizH3H9lqXhm0gcPnRvyyXMcuy9fosg1 LAWAohDzBxn2XPjGoc5WO1uRASuC8o4ScdGhdKpa3kWLtS/IwynDCPI4H8M5TgRe7MPp qzg5gmidnCuPks8GegFizxWcCSU5DO+bGhovO9Bs6pILyDHPGNHU2d0VWBWPdPkj5y40 Yl5gSzoOg/h6SpYsP/gnqGpw26IXtdLm8AWPM2w7+fniLeNj1sam8Az4RpmjOLKMOKWr KWFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=exlzwDBv; dkim=pass header.i=@codeaurora.org header.s=default header.b=ZZGzjGLS; 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 l8si1872980pgr.345.2018.12.13.08.45.26; Thu, 13 Dec 2018 08:45:43 -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=exlzwDBv; dkim=pass header.i=@codeaurora.org header.s=default header.b=ZZGzjGLS; 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 S1729218AbeLMQo3 (ORCPT + 99 others); Thu, 13 Dec 2018 11:44:29 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:58638 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727579AbeLMQo3 (ORCPT ); Thu, 13 Dec 2018 11:44:29 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 9BABB6071A; Thu, 13 Dec 2018 16:44:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1544719468; bh=HfqVVxA71rjyRwHgyZk8YKiBoDalmd4CQn13qw4F8BU=; h=From:To:Cc:Subject:Date:From; b=exlzwDBvt+GE/Yeind13OGJ/wQmsBD2p4GjOvZMzWg894rMAYAtIb2wySvUzO1QWi sDdCd+b8WhXYrjRpZOuexNmjSEMdXM3I4KnnR7wcBjMMF9UideqY6L/y9H5WxSB7R+ GMHZFwQwlPuvMvLwt4erQMMddi1AZ9HeikpPecvQ= 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 58A99600E2; Thu, 13 Dec 2018 16:44:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1544719467; bh=HfqVVxA71rjyRwHgyZk8YKiBoDalmd4CQn13qw4F8BU=; h=From:To:Cc:Subject:Date:From; b=ZZGzjGLSi1bpTlkIumtPH39UZ46F3kT04IbrfZtpIWKGF+gu8UubkhtBADf4CIkZf 2b7jOY42QXqteWIPOcawyqk/8/5ldzM8x++R+WH33D/aCgFd7pkMcY28aaMmwdWU7o KS+Fqz15ZiaYWpji8jYA0ovCq8oM9doFo+evv6wY= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 58A99600E2 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] clk: qcom: Drop unused 8998 clock Date: Thu, 13 Dec 2018 09:44:14 -0700 Message-Id: <1544719454-10638-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. Lets 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 --- 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.