From patchwork Tue Oct 1 11:55:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 11168595 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 069391709 for ; Tue, 1 Oct 2019 11:55:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D92CA21920 for ; Tue, 1 Oct 2019 11:55:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="oWJ+OKnv" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733101AbfJALzf (ORCPT ); Tue, 1 Oct 2019 07:55:35 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:46151 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732684AbfJALzU (ORCPT ); Tue, 1 Oct 2019 07:55:20 -0400 Received: by mail-wr1-f65.google.com with SMTP id o18so15105805wrv.13 for ; Tue, 01 Oct 2019 04:55:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nE4XL8qms/9Kpgy3n+0LiYMlRLilMKnu0uTWVFko214=; b=oWJ+OKnvV1nEG85+oJzgPToAX9vlxIWdG33ZmNo089bYl4219SMu9P+4ZiKS5alPnv 5UHCIPKTg/6CjUPmjjl7COJyHASgZ7djN6vERzU3JRqTG5L8bPIElMntHt+sA8PpJI1V IvJlWa3b5iRZTemB7JePoQxA3AXeJx/CCyRXUiWTRLx2vb3eXCNIM5RKPGSL/X4pnFF2 D4F2zIBTK+yyY8Eju1H5Iyw/NAbBZBOyZL4Gb/UDwyYhEwLtKHiaHV8ePa5S72ivUO5X opbH8Sxi5bqTWYhRKCyjxnb9bQPWuHeY8sZVnOQd3+cPmzSeWbxKdgHs8yRkyeD1CM2x DyoQ== 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:mime-version:content-transfer-encoding; bh=nE4XL8qms/9Kpgy3n+0LiYMlRLilMKnu0uTWVFko214=; b=Tzh6qa/njfHlbmdLjuee3VKcqEt22vYkkaFz21pdxB3TtAwoMQWZoSPU7AWTxLvAql KsPU4Yl07hOT7w4oKKRFaSMmp5WbrLAi14aWPQG/yWbegQkJg0WwOTwJ9ye/s5AYFKng UD0T0Z/yOuIZtxGmJ+L11cxYH/v9e/X1uoalOOo/hib/sxu5KYUWWweqa/KBIRYBRhMd COrQ8bFSj99i3mwvF1OK8sxjI4Vd0Z47t47gQjQyrv19X9y+btvCErkK9a3qVREyJOAl t/0a4wIIchiK0GZ68nYw4kHB915hB6dckvMJgh+YnSgLkw7O/LNqRwMp7mrpiRqsn+vw tFgA== X-Gm-Message-State: APjAAAWTGVCGTjNa8u2UYu1r5gveWWzgvq4aEauLVqke4vf+b5KYd86S Xp8JqyLTbephlWB5+Q3xay/ny8TSnw4= X-Google-Smtp-Source: APXvYqxw28X8pR77Rx9+mC0iRniK+Od8uatu5Uhz9j9oHbBWi+WdTmjujMGlSGZOE+lCuwODEk45pA== X-Received: by 2002:adf:cf0c:: with SMTP id o12mr17227829wrj.30.1569930918809; Tue, 01 Oct 2019 04:55:18 -0700 (PDT) Received: from starbuck.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id p85sm4052171wme.23.2019.10.01.04.55.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2019 04:55:18 -0700 (PDT) From: Jerome Brunet To: Neil Armstrong Cc: Jerome Brunet , Kevin Hilman , linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/7] clk: meson: axg-audio: fix regmap last register Date: Tue, 1 Oct 2019 13:55:07 +0200 Message-Id: <20191001115511.17357-5-jbrunet@baylibre.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191001115511.17357-1-jbrunet@baylibre.com> References: <20191001115511.17357-1-jbrunet@baylibre.com> MIME-Version: 1.0 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Since the addition of the g12a, the last register is AUDIO_CLK_SPDIFOUT_B_CTRL. Fixes: 075001385c66 ("clk: meson: axg-audio: add g12a support") Acked-by: Neil Armstrong Signed-off-by: Jerome Brunet --- drivers/clk/meson/axg-audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/meson/axg-audio.c b/drivers/clk/meson/axg-audio.c index 60ac71856e5e..4b34601342bb 100644 --- a/drivers/clk/meson/axg-audio.c +++ b/drivers/clk/meson/axg-audio.c @@ -997,7 +997,7 @@ static const struct regmap_config axg_audio_regmap_cfg = { .reg_bits = 32, .val_bits = 32, .reg_stride = 4, - .max_register = AUDIO_CLK_PDMIN_CTRL1, + .max_register = AUDIO_CLK_SPDIFOUT_B_CTRL, }; struct audioclk_data {