From patchwork Fri Sep 6 23:23:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jorge Ramirez-Ortiz X-Patchwork-Id: 173307 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp1371444ilq; Fri, 6 Sep 2019 16:23:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqyVX3h9uB9xb01pFY9V9aouWGq2k03lINb/ya3t5R70wwxUjJXPnuMVzSnFtfycC21envMY X-Received: by 2002:a65:4c4d:: with SMTP id l13mr9971685pgr.156.1567812234153; Fri, 06 Sep 2019 16:23:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567812234; cv=none; d=google.com; s=arc-20160816; b=e1Kl5vwCGmYvgGlz82F0W43Y3H9wR3zueuFMexx3BFnheyka9ii7mDeCcC/t9aQJqi WkPouYEozTHmc8ioHKU3rW3jnOZxG7hO2ZJfdzBVHQsg9Sm2ER7ehTvWd/pycVH53ztQ tlX+tjTA/djE1upMfwry/tZPxkkg4o82daKDtqeI4tLR9y6aVYIlv8arGHSnqkPG7amP Kmaiu656B7NzAIvJsLbAGvTQowiLqfF6LwM4jx1znELjLZnlvuLtKfdlH0lmdgs5BbiQ sgJS2akmstH9JYVck75wi4EtlFaWj8N7NvG19dEyHFhJHoz98qz56P/u/hA5r32rMcIl Cx3g== 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=mipkxs/K3VQhxvIuUjc7V8qspofVUAqg0yqG9RDRrhA=; b=0k0bC/B/FG8KfEVzcTWLCVZlVsBj2TuWB0iy58G2TK5mzZzxctLe14gm9bGHAcEDKi mLH4I+5DhISfkevArl6Hm2ughBB/fUSXRdWKQ+RLAhmSMVZNs8SDtlfNlGnjxx+h+sp+ Kg7ZCE47G/MZOg9T03zNMDxrdsfx/CUrDJyv4gkHim7e/9OFGarALWUQfYgBlqra9cHm hITdekN2Gd459AnD3rmqOip00V7/JJ3kgba4e5qDhecQsFWI6okpuHyW8h/revKMj3vG Chzjg+Bv3RrtN3OQ+w/lRVKUjQloK1aCEnmdH6iNHLp7/3EoGaFC2I+HIV/0KmAAdLKk vdXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JaPw67OA; 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 136si5558688pgg.354.2019.09.06.16.23.53; Fri, 06 Sep 2019 16:23:54 -0700 (PDT) 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=JaPw67OA; 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 S2405322AbfIFXXx (ORCPT + 28 others); Fri, 6 Sep 2019 19:23:53 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:37151 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732131AbfIFXXw (ORCPT ); Fri, 6 Sep 2019 19:23:52 -0400 Received: by mail-wm1-f66.google.com with SMTP id r195so8749006wme.2 for ; Fri, 06 Sep 2019 16:23:51 -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=mipkxs/K3VQhxvIuUjc7V8qspofVUAqg0yqG9RDRrhA=; b=JaPw67OAiUZvfpUlDcvnVfl7MJaj45DXVlS6fFKW0ZOB598Orgq1TgSx5pD4Y9OwwZ rrvF/2B0uWVCmZcS2sChE03AJt/7jHrRwR71TuCquzTiCown6sm3kCPV41jYriy51yoB k/vVV8l5S/NznpFNLRncX/ac1FPnSECemWAXiH6op/TUB4xTG7fd3CQffV4/YSTpxjrv sNnJqykGtElHGgjGjolLHPgCG7YCWFCA8iy5Hrf0wmRk41IohU6/3yIVDKar19CU3pNP ejiTyst6VrZX1jlt4TWh0bsUTmvORLoc1cvgflQ39VzVZ58ek1ShzuU3uLOX+s+fHop9 1fvg== 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=mipkxs/K3VQhxvIuUjc7V8qspofVUAqg0yqG9RDRrhA=; b=L+t83CN8iaMj5AubnRjBwbvzPn1CQgncJCu1hmx5jkqSGQm60QuGPN5GzL/HZ2bGN9 XEWwfQTxriGuhVNz1Cq3H1P/vv5UjDIqlt6g8Nb2Bc69/UcIChJXoYKkPsVeBuEJVVLo ySp0E/tBDL7ZE75snsyaJeGC2dW/0fG/9IKci+FA3gbgUjW948oKqYuFTHkDEqs8jyNz py+Cr2yMYNWpHBVJhli9+SQnshsNwx4n+aWpED/78yCZpaex6s7oOaVH+7+wLOP+HbMG Vk30zrWRVxQIwPe+naQ+MruvtIa9/x67A32rPxQeljN8lRE1fH95SOK4dEJd7yj+Znrd +LMA== X-Gm-Message-State: APjAAAX1dHG7soWW3aI8jWqwVW/j7STLhgmLt8tkq7PMXmfYQ8kPk4p/ 4IXOrv/5LIHnour2FntooNz5yg== X-Received: by 2002:a1c:a796:: with SMTP id q144mr9295015wme.15.1567812230476; Fri, 06 Sep 2019 16:23:50 -0700 (PDT) Received: from localhost.localdomain (124.red-83-36-179.dynamicip.rima-tde.net. [83.36.179.124]) by smtp.gmail.com with ESMTPSA id q66sm9254919wme.39.2019.09.06.16.23.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 06 Sep 2019 16:23:50 -0700 (PDT) From: Jorge Ramirez-Ortiz To: jorge.ramirez-ortiz@linaro.org, agross@kernel.org, mturquette@baylibre.com, sboyd@kernel.org Cc: bjorn.andersson@linaro.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] clk: qcom: fix QCS404 TuringCC regmap Date: Sat, 7 Sep 2019 01:23:46 +0200 Message-Id: <20190906232346.8435-1-jorge.ramirez-ortiz@linaro.org> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The max register is 0x23004 as per the manual (the current max_register that this commit is fixing is actually out of bounds). Signed-off-by: Jorge Ramirez-Ortiz --- drivers/clk/qcom/turingcc-qcs404.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.23.0 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, };