From patchwork Thu Oct 5 02:33:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Ond=C5=99ej_Jirman?= X-Patchwork-Id: 9986321 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8B03D60291 for ; Thu, 5 Oct 2017 03:08:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8179E28600 for ; Thu, 5 Oct 2017 03:08:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 75D2F28C37; Thu, 5 Oct 2017 03:08:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=2.0 tests=BAYES_00, DKIM_ADSP_DISCARD, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A74BC28600 for ; Thu, 5 Oct 2017 03:08:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=iFrz2NfTD6JD3kMeYe5zeWZtxeiMl8J78YTjjo7l6l4=; b=Yh/ nWL/1nN2otfCdTcb1fuR9QgxDMb2GfjLa03n0mtQSOBSZe8seAagg3IJrKW3AmFQ0hefjHi5htkPc RvQFLF5EXYk+V3v6aTuXI/iejiMWtjlzw5zXxNCmC7Hm/8s6GwPY23rxVfa9VQIkcK2fbaNz7rEtr 4oJaC6sIJEswfdM8m6t+0HAyFcwHFi58o0VDkgPc+9LSLP/M48UTiBw7tr6yahOXNCbr6/Vt31CLS vaLdAKzN8Bhrvwkzlfee8qsJecka5LVdh1ottmL98DIr+Et5j97Ud/8IaltqRm5+/vOtLt0NWKJoI +VrrBYXre9C9qemmmF+GLdOQ6Hl6XKw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dzwWA-0005he-2W; Thu, 05 Oct 2017 03:08:10 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dzwVq-0005cN-TL for linux-arm-kernel@bombadil.infradead.org; Thu, 05 Oct 2017 03:07:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=g6zewHpBzwPr7G4EpqEvEgWzcZIIkA8O5depHmTrFAI=; b=wDNMRCUM87jLqrtw4OR8MtdaM jutkpCZWncO7TP28cwneOUtzRZN2DcWM80H3te8nKV02FO5L/OldzsdZkNLAlch1e0nDFCQD+TymK yJw+9nuouBGH848VH7OZhsmv34VxaNg+hQ51AW5D+84ozaNTtQO9mkx/5kO3HAyLDIlYfnHfgD6zL mo2au1LCBb37MY2fvvugsXBgye1qQT8ErIFEEJqkydFA23476dba7zxojlo71wFHGsuj0QZpsQPf6 nbAhQKi8tHYAv6lJ6ZYi3MC1fP/jKkxe/mwx+H76BFajktIQW21GZ8x0BNKw4mKZJkpMJCyiojjKP bdCIpOzSw==; Received: from anglina.eu ([195.181.215.36] helo=megous.com) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dzw0E-0003ZN-5D for linux-arm-kernel@lists.infradead.org; Thu, 05 Oct 2017 02:35:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1507170807; bh=+NgIHgbANqJmHxg3yy0+pHf1GxUCknCocEirWv3DC5o=; h=From:To:Cc:Subject:Date:From; b=jzuGj/w2+gIA8z1bMf87I8VNzb1TdCm056kckjl6c2HYfBylBVXVcSxQQpB9VHbx8 c7Xwc6xL+GktoQP8rmfAj0sZko1njmyYGfwgcCqdSp85l+hOffWj2KaSlR0hORY6FC pP7zUajpCYhtk1mQqcRLQBP6BeWflaiyKZ2nAamA= From: megous@megous.com To: dev@linux-sunxi.org Subject: [PATCH] clk: sunxi-ng: a83t: Fix invalid csi-mclk mux offset Date: Thu, 5 Oct 2017 04:33:14 +0200 Message-Id: <20171005023314.21663-1-megous@megous.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171005_033510_239863_80EC0EC0 X-CRM114-Status: UNSURE ( 6.45 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ondrej Jirman , Michael Turquette , Stephen Boyd , open list , Chen-Yu Tsai , Maxime Ripard , "open list:COMMON CLK FRAMEWORK" , "moderated list:ARM/Allwinner sunXi SoC support" MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Ondrej Jirman Datasheet specified that parent MUX settings are at bits [10:8], but current implementation specifies incorrect offset at [10:12]. Fix this. Signed-off-by: Ondrej Jirman --- drivers/clk/sunxi-ng/ccu-sun8i-a83t.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/sunxi-ng/ccu-sun8i-a83t.c b/drivers/clk/sunxi-ng/ccu-sun8i-a83t.c index b0fbdaea76de..d7938ab57429 100644 --- a/drivers/clk/sunxi-ng/ccu-sun8i-a83t.c +++ b/drivers/clk/sunxi-ng/ccu-sun8i-a83t.c @@ -534,7 +534,7 @@ static SUNXI_CCU_M_WITH_MUX_TABLE_GATE(csi_mclk_clk, "csi-mclk", csi_mclk_parents, csi_mclk_table, 0x134, 0, 5, /* M */ - 10, 3, /* mux */ + 8, 3, /* mux */ BIT(15), /* gate */ 0);