Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3404125imu; Thu, 29 Nov 2018 22:56:09 -0800 (PST) X-Google-Smtp-Source: AFSGD/Xo4JusCqR8NQ2r82tKf7p4Rp5Lk4VBQXvmmoEDObXT1htAhEEuPoZlfmrdQZGZgLNx/r9K X-Received: by 2002:a17:902:b282:: with SMTP id u2mr4591960plr.89.1543560969270; Thu, 29 Nov 2018 22:56:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543560969; cv=none; d=google.com; s=arc-20160816; b=Y8UrHL4TLFs705U18g47qQSPjEr0gBS2HUIAfYELcGTzE6EfRk3v2O3KNx0saVxcVV hmvP5aumJjGe8FYDJ4oFPoA1nuNj3VuzvtIK12KxL6luaX5wPL6KzU/ee+xDgIoI/EyU Gw6YFYbp2gLboI8u4NTTmpNclUan4cYoNNnoCDABvaDD7nbRPj4y7eJPJl5Qob+xp2Ra 7zPP2kytH9mjdH+VLOCyt+GcE/mbKIGOPZr82fq2T/SYZI+wmCnhSRJwocCUK2aOnJlC 8GkqfRK3dJO6MtblXjmILTbL1ljUCzkGQEjzlt3EJ8IE07bKlKU6N6WpxDgzxzEiMEKn q0mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=QZvfeZHAnMUYvaTlclKUDRPDClRnA84dF7+NxVt5aH0=; b=BNCnWkzuoytNvNGI0mezmLjJyT0Q7w1oTgjxcYTDV3aCnQc2H7xam4nJZlZNXtMUEQ AyW/qNR4IJwWcqveCZX6lBsuKhyASZg7aRYRdltkNHQfcoxn8RrgrSci3PU1EeThuNXK xnqqVGPxTx0XL/VPwlj0Y1i/essQOrACwCDwrchx5baUFYr4s8rfHD331+2DhF3K0Szx cE/zLMk3FcATPAgBIsL9v14NIL/OnYujeqE9WuPSK00QCKux/KcCHGakgVb2S5RHiwbf 1d2nG/99VqNsVJXVvzeGXmErnEkI0hvWpuSWPSVEFoiuU+s3kDsDSfR+/9WLgKak/gIm EqSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="F2Cxd1+/"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d13si3528211pgh.196.2018.11.29.22.55.54; Thu, 29 Nov 2018 22:56:09 -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=@linaro.org header.s=google header.b="F2Cxd1+/"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726989AbeK3SD3 (ORCPT + 99 others); Fri, 30 Nov 2018 13:03:29 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:47022 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726860AbeK3SD2 (ORCPT ); Fri, 30 Nov 2018 13:03:28 -0500 Received: by mail-pg1-f195.google.com with SMTP id w7so2070351pgp.13 for ; Thu, 29 Nov 2018 22:55:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=QZvfeZHAnMUYvaTlclKUDRPDClRnA84dF7+NxVt5aH0=; b=F2Cxd1+/NgU9DvQMYjySSP3ukJj+V6MQPz7ppeA7g8INTA1Z8RczvMqTY7xGahlzhL 0Ve8Xvd3kf0j4jBFkkq+YkA3X2c31GJhDo3a86+qBqgTYul9O0oO+HvjHuOTuhliXDuk C8T2Akw3Sb6yOuIQZekJZem8kVcyEe6A0wT1E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=QZvfeZHAnMUYvaTlclKUDRPDClRnA84dF7+NxVt5aH0=; b=dRSxhi9jIPn6Wq15eN2Qa6reDz2qNJ51TqADb/Fuxs4BIyGLw6+qG3pkPfFydQ6GkC 6SoKaFim+mUfLchw6yE/MUt/Dan82soh3ekpQaZa9tAI/DMVnkbrY/vpCwrAaNvuLCst V/yHXa2Zboq/ipJBpPOouJ0w0rUJdJdVa8wpfSMohFMPnp1uNEly1pP2iiPRcEacB2+d JfkF5f4k6xVqDxp4lkZ6YlWDLYzYTpd7QpHSpfnhZNYKzHmbM4kcoIJe0z4pl3UCx3kB nyGMvXMsuxuBa6uLZ92uOzsZL4r5zsUMpCd3/DIi91L7pONeD1MDdonRaYTi8wYgrklK dObA== X-Gm-Message-State: AA+aEWbrx5NHsf/nqc+AQOMT7zig9tC+w8v/NAKe1RBo0mySilxQaV66 fVG4BHcId3/Vzw10X6/JpvG1FQ== X-Received: by 2002:a63:d34a:: with SMTP id u10mr3937210pgi.301.1543560911037; Thu, 29 Nov 2018 22:55:11 -0800 (PST) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id w128sm5859175pfw.79.2018.11.29.22.55.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Nov 2018 22:55:10 -0800 (PST) From: Bjorn Andersson To: Michael Turquette , Stephen Boyd Cc: Andy Gross , David Brown , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Marc Gonzalez , Amit Kucheria Subject: [PATCH 2/3] clk: qcom: gcc-msm8998: Disable halt check of UFS clocks Date: Thu, 29 Nov 2018 22:52:58 -0800 Message-Id: <20181130065259.26497-3-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20181130065259.26497-1-bjorn.andersson@linaro.org> References: <20181130065259.26497-1-bjorn.andersson@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Drop the halt check of the UFS symbol clocks, in accordance with other platforms. This makes clk_disable_unused() happy and makes it possible to turn the clocks on again without an error. Signed-off-by: Bjorn Andersson --- drivers/clk/qcom/gcc-msm8998.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/qcom/gcc-msm8998.c b/drivers/clk/qcom/gcc-msm8998.c index d89f8e7c2a59..3d232d266d72 100644 --- a/drivers/clk/qcom/gcc-msm8998.c +++ b/drivers/clk/qcom/gcc-msm8998.c @@ -2403,7 +2403,7 @@ static struct clk_branch gcc_ufs_phy_aux_clk = { static struct clk_branch gcc_ufs_rx_symbol_0_clk = { .halt_reg = 0x75014, - .halt_check = BRANCH_HALT, + .halt_check = BRANCH_HALT_SKIP, .clkr = { .enable_reg = 0x75014, .enable_mask = BIT(0), @@ -2416,7 +2416,7 @@ static struct clk_branch gcc_ufs_rx_symbol_0_clk = { static struct clk_branch gcc_ufs_rx_symbol_1_clk = { .halt_reg = 0x7605c, - .halt_check = BRANCH_HALT, + .halt_check = BRANCH_HALT_SKIP, .clkr = { .enable_reg = 0x7605c, .enable_mask = BIT(0), @@ -2429,7 +2429,7 @@ static struct clk_branch gcc_ufs_rx_symbol_1_clk = { static struct clk_branch gcc_ufs_tx_symbol_0_clk = { .halt_reg = 0x75010, - .halt_check = BRANCH_HALT, + .halt_check = BRANCH_HALT_SKIP, .clkr = { .enable_reg = 0x75010, .enable_mask = BIT(0), -- 2.18.0