Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp3742584imc; Thu, 14 Mar 2019 04:23:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqwkH65ocW9EZ+smRcpRPjlqcDWMcPJkf6YZeFG6sBRWE2ZR/Aufymy5JwBL0iArFs+014of X-Received: by 2002:a17:902:5ac9:: with SMTP id g9mr51398888plm.205.1552562613377; Thu, 14 Mar 2019 04:23:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552562613; cv=none; d=google.com; s=arc-20160816; b=hVm309gm8NbZmGZvhV0QW2xVS0eRuLUgShBspvn7+1D5xvL+GnFqaob7C2NroeDEkX OyzX7djz1e2zystFsdt4S35D/vZc5hX11XLWGISixaomGukjuNY7w7D/tNGwG6nqKT5b dBdOHcJvn4/HYmaGK3+Jd6wSLGpKXNid/8wMiCQZxGYhGNFowKQfwe4zGrX4giLIBPEx nsqeo677t5ARSg2Yf9KfzmKVlDYPDl3bXNdZsAQ/Oy6934NGjM7L/NeFY0KkoxgIUsXP kmcg2iUVuJZQPJ0k7FluvvNL9y2hC6idGhqYjE7Etgcb4PHwfFAd+d2pLeH6RRqWZi09 Y06w== 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; bh=Mupl7LZRZGPv5U7pnywkVIPX4zCatWqiAwhLxAK/lzI=; b=oqOU8CZKZWebLFRVmiw1YNYs4so+480j0UzZTPwS6qfpKy7xg2YwTvX2gv+EJxDiNU x+9BeRWLmGI/GFRS8GSQUmSA4Av5LRrHzdi+5r7BLA7MD7DufcWTUj8amNEfvarJbZcl zE/LNYa1VweaZYDOqAhwDA72Gs3VF2pPVkTK2zWx/jnawN+iN8kLkFBHUon+8RcyzlDB pPSX40RdM1piv0fSfl7SGdvXQeXLia5TjDvP5iVC/YPEMt3B0BTyLzKvS6NKB4qiZikN 6W2+g6f+j8jTL/4WTvaaogko78w3vqAiAlw/5tM47mRB2725uB1PsLQjCYn990edpeE4 /EXw== 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 r39si13900220pld.70.2019.03.14.04.23.18; Thu, 14 Mar 2019 04:23:33 -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 S1727216AbfCNLVX (ORCPT + 99 others); Thu, 14 Mar 2019 07:21:23 -0400 Received: from hermes.aosc.io ([199.195.250.187]:37377 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726452AbfCNLVX (ORCPT ); Thu, 14 Mar 2019 07:21:23 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 195AD844C2; Thu, 14 Mar 2019 11:21:18 +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, Icenowy Zheng Subject: [PATCH] clk: sunxi-ng: f1c100s: fix USB PHY gate bit offset Date: Thu, 14 Mar 2019 19:21:08 +0800 Message-Id: <20190314112108.6150-1-icenowy@aosc.io> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The bit offset of the USB PHY clock gate on F1C100s should be 1, not 8. Fix this problem. Fixes: 0380126eb9af ("clk: sunxi-ng: add support for suniv F1C100s SoC") Signed-off-by: Icenowy Zheng --- drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c b/drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c index a09dfbe36402..dc9f0a365664 100644 --- a/drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c +++ b/drivers/clk/sunxi-ng/ccu-suniv-f1c100s.c @@ -240,7 +240,7 @@ static SUNXI_CCU_MUX_WITH_GATE(spdif_clk, "spdif", i2s_spdif_parents, /* The BSP header file has a CIR_CFG, but no mod clock uses this definition */ static SUNXI_CCU_GATE(usb_phy0_clk, "usb-phy0", "osc24M", - 0x0cc, BIT(8), 0); + 0x0cc, BIT(1), 0); static SUNXI_CCU_GATE(dram_ve_clk, "dram-ve", "pll-ddr", 0x100, BIT(0), 0); -- 2.18.1