Message ID | 20190909085430.8700-1-jorge.ramirez-ortiz@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp4073856ilq; Mon, 9 Sep 2019 01:54:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqxn1t3IAGKI/GxKVBj023R0UDdkqTNWdk1uFZHwZghJw7ThUTeq8c2d7ZGPSeAE/U/enNPl X-Received: by 2002:a17:906:244c:: with SMTP id a12mr18075958ejb.288.1568019276723; Mon, 09 Sep 2019 01:54:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568019276; cv=none; d=google.com; s=arc-20160816; b=mlksLZ2+yaF3vMDaG5Ntdp47Zh/rkmU67WgWEr21+JvEf0TE1kJrwa+7GbC3o4b1Qw k8x+6UuE2ozvkj/Lxn44rUfWHlecD56I0ETyL9EXGEOCJ6mEVYFJ/BmQcDpZMPLTpzQ1 95HAq8qKc0m0qi1SWki150+aGLQVpCW0bypQowYLLAo8vsy7FaYa02Y8705/DbYXMU0t K08MKk6BONeyR3RAFRCPsK0KRDBzuj7jNgh54K4PRzwzMG9IRj1q6TawfiXq4lWkdizE 6SzuZXqQcr4O4I0rCrFc1ns1zDHYqjpIdHV0gO0+fimYnOWvAUC/TWNTgTsbpNCyxqJ4 HEFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=93tDfN83mQsd0DPVLc0brfVYsJhwPv42JzLgK6vCzz4=; b=V9pfr3tC7EqW31EPq1BEs5BlLUsDPakmnBhQW4dw7fO3zF1g1G1jMKcigJ7iXI7BT2 pxIb5tX7Y/hvi7ZdOzeER4TNicZrCGFKws3NpEZqsctX6nBmrpQUrVbewoNNejTYRZAW V0frPP7l1MOuNsyurcm6GigFY1dmrtkQOZu2RQ9bFf9ENRe7GrgFRJH943IJ67nGRaQI 1m6UEYsimfLTXTl4slfzf2LAmPNXHxJ7qtasCR0E+mj5BbZ9fiVYxayhzf997dA9Flor 04UUKCU7frHVU0nrZh2i/g00nETFA9SUQ9uDL9WmtFnJC9jQOnXzghBLRFO4RT+herm0 WonA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=elru8+rT; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-arm-msm-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w27si8304521edd.84.2019.09.09.01.54.36; Mon, 09 Sep 2019 01:54:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=elru8+rT; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1727778AbfIIIyg (ORCPT <rfc822;thara.gopinath@linaro.org> + 15 others); Mon, 9 Sep 2019 04:54:36 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:38106 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726663AbfIIIyf (ORCPT <rfc822;linux-arm-msm@vger.kernel.org>); Mon, 9 Sep 2019 04:54:35 -0400 Received: by mail-wm1-f68.google.com with SMTP id o184so13622880wme.3 for <linux-arm-msm@vger.kernel.org>; Mon, 09 Sep 2019 01:54:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=93tDfN83mQsd0DPVLc0brfVYsJhwPv42JzLgK6vCzz4=; b=elru8+rTyxJnAkRhSgpCtGKhvAzkZlMgML1O+PjWOVzMhVAwGdF9mdMl17yIKWinbF Pyy6PK6nwfQV5XGO52F6rddjfLoTuo42XyaL8+vXtJxbuvOKtoETYTCgowHJU7dGBtaZ yDFVoVhq0NiwV8DC3DNqEKBbhS0xYPVmxfqacrxJcuOC+lqP1wI4v4jR3kpLPvkeNfgJ MMpU8LbFzSZ8+v+24aIyPlKotBw+kF87nnHbIrvLu9gISBhkJsGqrFJnZvT1DRHajBkP wPRdWm4WWfuVQYLL6SxMeATk/Z2Y1tisSr9TtcTvz8TOBWamw9eYO9oMfOZS3fCyKtdt pUnw== 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:mime-version :content-transfer-encoding; bh=93tDfN83mQsd0DPVLc0brfVYsJhwPv42JzLgK6vCzz4=; b=LxQJlPwjORM0YrnJqsOrMZvpfVwFvWRyIbkYbdy405szyDUAdIH6OrEj4IuM1b19Rx HJyiZUlQM7KMagRYpW2v7goCiJrMJBQUTIJ2B0rJQpCB3FfWmBwIB+vXCI2nLKZOf5DO BervBL8XOQ/5YOf5yvcRr2FpZ40+XYHW9wzQeUCfLMlV/dTZLaeW9j2MjsJwApadw5DX H2JN84Np3IiXaqOBqX7LndIHyFGjqMdn/pHWT9X3dS0DwlgOSX32Hhn87Y4L+SEVS+UH v7yW6+mLjlPgfa72ncI0ZPt0vxBHOAubTqR421jjhvtMgudNqeWuYJ0KUQllNM0noUyj 53eg== X-Gm-Message-State: APjAAAVh5FcH3z1buqjpek65NH/ENO9QdAYUYmWGBp8wHmS5Gybb2gYs WEN3j3mxV0iE9flPCcvP6/B/jw== X-Received: by 2002:a1c:98c9:: with SMTP id a192mr18219335wme.29.1568019274219; Mon, 09 Sep 2019 01:54:34 -0700 (PDT) Received: from localhost.localdomain (69.red-83-35-113.dynamicip.rima-tde.net. [83.35.113.69]) by smtp.gmail.com with ESMTPSA id r17sm13265220wrt.68.2019.09.09.01.54.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Sep 2019 01:54:33 -0700 (PDT) From: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> To: jorge.ramirez-ortiz@linaro.org, agross@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, bjorn.andersson@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] clk: qcom: fix QCS404 TuringCC regmap Date: Mon, 9 Sep 2019 10:54:30 +0200 Message-Id: <20190909085430.8700-1-jorge.ramirez-ortiz@linaro.org> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: <linux-arm-msm.vger.kernel.org> X-Mailing-List: linux-arm-msm@vger.kernel.org |
Series |
[v2] clk: qcom: fix QCS404 TuringCC regmap
|
expand
|
diff --git a/drivers/clk/qcom/turingcc-qcs404.c b/drivers/clk/qcom/turingcc-qcs404.c index aa859e6ec9bd..4cfbbf5bf4d9 100644 --- a/drivers/clk/qcom/turingcc-qcs404.c +++ b/drivers/clk/qcom/turingcc-qcs404.c @@ -96,7 +96,7 @@ static const struct regmap_config turingcc_regmap_config = { .reg_bits = 32, .reg_stride = 4, .val_bits = 32, - .max_register = 0x30000, + .max_register = 0x23004, .fast_io = true, };
The max register is 0x23004 as per the manual (the current max_register that this commit is fixing is actually out of bounds). Fixes: 892df0191b29 ("clk: qcom: Add QCS404 TuringCC") Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> --- v2: add Fixes tag drivers/clk/qcom/turingcc-qcs404.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.23.0