Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2850898ybe; Sun, 8 Sep 2019 02:03:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqxoa57QY1KxQckEO7mAEmDF0YaCoARiu3SDLsLpPihVphp29MIQvfy5ZkBCXlEUYyBBtWQp X-Received: by 2002:aa7:8511:: with SMTP id v17mr21384134pfn.39.1567933431661; Sun, 08 Sep 2019 02:03:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567933431; cv=none; d=google.com; s=arc-20160816; b=dws8FmAL1u2AVaDB8FllPIxN/Gyk0FFMUUBZBDFzlI2JDn/FrE+XDNOQK/40nj9pbr yuFMsmmMZDpOjO0OvsX0ap53C2QOnBJ5oA9r/wJJ2eDlX0GC2R8Zv+4P4VibUD2kpMcR AhF/yQSM/kkZiHrG/Aitz18/BS8/CXXRPKyKIOVn49HUeuPeAm2fnav7fzf916vXdbvc Tn6khbVI/kijJV2P2odrg+KutguhtbbnBQGxe0j5kD1ViGuQS9pLVT8Lfsaoi6BS6S4n 4vDAiakgr1bvOv/sEIUbOOGIaeHrvxTENwia8gg5dU5DpNOtAwnIlK8WYGAy6D6+ijxT OWKA== 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 v14si9187910pgl.386.2019.09.08.02.03.36; Sun, 08 Sep 2019 02:03:51 -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 S2405306AbfIFXXx (ORCPT + 99 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 Content-Transfer-Encoding: 8bit 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(-) 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, }; -- 2.23.0