Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp163412imm; Fri, 10 Aug 2018 09:12:37 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwpLLGM+Uqpt+cXGDA4R+3Mp/hKczT7y+aFk4C2rqsD9YQOUAccNm30O3iJDMTICGGvq/lV X-Received: by 2002:a62:4695:: with SMTP id o21-v6mr7689474pfi.176.1533917556927; Fri, 10 Aug 2018 09:12:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533917556; cv=none; d=google.com; s=arc-20160816; b=Rq+F5iKLCuwZWoJ3i7Mbs1v86t89vRNyi0czvm58cYE6+c4Er8CGXRjdyQIhNpoeEW gCMoBS0B4Lho3Xrd6cKHApOKWZLWLzkXjuA+4XLSFeCgIpYN7pzCyJOBB1XX4ObDg1XL 1V+WeFDsBSBUsACJUxaLpy/mBvpj4WRhHmQ176MTBSZpw24YhDQPcOtb1Gb6IgU6/MSC sneDg6AhUC7pbKl70v4eEXx3IcKJSSSJyfCerc9/0Rg7CjZn+e5dkDeOJ8nYUJxjmyiE TD4RVab65DYCN5hcHV03ykvwLiNdqXGFbL0GhNrET0Sy6wjQow3ZJa2M0NYcfK0Beyuf zHsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=VWTWiXZq69qTox7KHPma5qE15J9CdW1LCh6DBB8ok+0=; b=ZNT8nbP2uBR86KV/3bf7WpNmXR/e7QqBTUrW+5I1PZq6trncUoVndXADc6mqhNkLIn IndxPMGpbAz8fXrfdAeUtp0AZ631jQBd4manspDkqriehULqsZcC6UtUhPYZh1W6Hq2k AfKqJ63lJldr8nhcSc5mNvLjMna4pGBxJGICr57yXV9tFYn0cHjoDXmh941eqB2FBEFl gY+wcA8fIpKIb6y8RfY/CyEeFomsYE9R7//Fsh07pDslD/s8rWoG052aOMXLztPg7/Mp AKNya7Zj5RWk0sj8w+pdEKlGyZZYgLVSlly8KHqv4KgIt6jjK+vkRirecL17uBihBm8K M3Ug== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m76-v6si10584779pfg.323.2018.08.10.09.12.22; Fri, 10 Aug 2018 09:12:36 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728299AbeHJRrX (ORCPT + 99 others); Fri, 10 Aug 2018 13:47:23 -0400 Received: from hermes.aosc.io ([199.195.250.187]:57427 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727381AbeHJRrX (ORCPT ); Fri, 10 Aug 2018 13:47:23 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 891B865617; Fri, 10 Aug 2018 15:16:56 +0000 (UTC) From: Icenowy Zheng To: Maxime Ripard , Chen-Yu Tsai Cc: linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Rongyi Chen , Icenowy Zheng Subject: [PATCH] clk: sunxi-ng: h6: fix PWM gate/reset offset Date: Fri, 10 Aug 2018 23:16:38 +0800 Message-Id: <20180810151638.30900-1-icenowy@aosc.io> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rongyi Chen Currently the register offset of the PWM bus gate in Allwinner H6 clock driver is wrong. Fix this issue. Fixes: 542353ea ("clk: sunxi-ng: add support for the Allwinner H6 CCU") Signed-off-by: Rongyi Chen [Icenowy: refactor commit message] Signed-off-by: Icenowy Zheng --- drivers/clk/sunxi-ng/ccu-sun50i-h6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/sunxi-ng/ccu-sun50i-h6.c b/drivers/clk/sunxi-ng/ccu-sun50i-h6.c index bdbfe78fe133..8eea58f9298c 100644 --- a/drivers/clk/sunxi-ng/ccu-sun50i-h6.c +++ b/drivers/clk/sunxi-ng/ccu-sun50i-h6.c @@ -352,7 +352,7 @@ static SUNXI_CCU_GATE(bus_dbg_clk, "bus-dbg", "psi-ahb1-ahb2", static SUNXI_CCU_GATE(bus_psi_clk, "bus-psi", "psi-ahb1-ahb2", 0x79c, BIT(0), 0); -static SUNXI_CCU_GATE(bus_pwm_clk, "bus-pwm", "apb1", 0x79c, BIT(0), 0); +static SUNXI_CCU_GATE(bus_pwm_clk, "bus-pwm", "apb1", 0x7ac, BIT(0), 0); static SUNXI_CCU_GATE(bus_iommu_clk, "bus-iommu", "apb1", 0x7bc, BIT(0), 0); -- 2.18.0