From patchwork Thu Mar 2 20:55:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Priit Laes X-Patchwork-Id: 9601523 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 C909960453 for ; Thu, 2 Mar 2017 20:56:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B92ED285E7 for ; Thu, 2 Mar 2017 20:56:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AB6C0285EB; Thu, 2 Mar 2017 20:56:28 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID 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 29687285E7 for ; Thu, 2 Mar 2017 20:56:27 +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=ZupoubMoGMF1sOSmnPQS/bOCerqXWzr5hFRkv7XuMBA=; b=NL/ B/wxl8M2oxgePLL6Uhres5io1ZRyTo+zVmlzpXQexXteJkaC1Ax4sU7gNFqlxc/XFJmbKf80Vw7Ba Dvj/X9JW60bpPE3E3toNtbaK/07/ZtR49hRAldFlOAxmR3+7P1EeRqacXpR1TbqL4bTRQq4hYztVn zD1OecUJc/zlGkgxng2kpzpIt1xOxfyoi4HWKV0u5bKotFgmd0TJdCU9eCjykMS//stDuXYGANS6r uak7eBec2baPYVc7q1j3OEeaaHisE3CLYmlWnT8GgzatVqu+IVyrUAxo6DHtxk/Vs1Rvgr+fpenVQ 8+IdnPHUPUOBAQ8zbXRroZpDuDhYN5w==; 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 1cjXlz-0005By-Cb; Thu, 02 Mar 2017 20:56:27 +0000 Received: from plaes.org ([188.166.43.21]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cjXlY-0005A2-VK for linux-arm-kernel@lists.infradead.org; Thu, 02 Mar 2017 20:56:04 +0000 Received: from localhost (82.131.53.162.cable.starman.ee [82.131.53.162]) by plaes.org (Postfix) with ESMTPSA id 90D41402A8; Thu, 2 Mar 2017 20:55:33 +0000 (UTC) From: Priit Laes To: Michael Turquette , Stephen Boyd , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH] clk: sunxi-ng: sun5i: Fix mux width for csi clock Date: Thu, 2 Mar 2017 22:55:27 +0200 Message-Id: <20170302205527.23007-1-plaes@plaes.org> X-Mailer: git-send-email 2.9.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170302_125601_179605_BEC3AC2E X-CRM114-Status: UNSURE ( 6.43 ) 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: linux-sunxi@googlegroups.com, Priit Laes , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org 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 Mux for CSI clock is 3 bits, not 2. Signed-off-by: Priit Laes --- drivers/clk/sunxi-ng/ccu-sun5i.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/sunxi-ng/ccu-sun5i.c b/drivers/clk/sunxi-ng/ccu-sun5i.c index 06edaa5..5c476f9 100644 --- a/drivers/clk/sunxi-ng/ccu-sun5i.c +++ b/drivers/clk/sunxi-ng/ccu-sun5i.c @@ -469,7 +469,7 @@ static const char * const csi_parents[] = { "hosc", "pll-video0", "pll-video1", static const u8 csi_table[] = { 0, 1, 2, 5, 6 }; static SUNXI_CCU_M_WITH_MUX_TABLE_GATE(csi_clk, "csi", csi_parents, csi_table, - 0x134, 0, 5, 24, 2, BIT(31), 0); + 0x134, 0, 5, 24, 3, BIT(31), 0); static SUNXI_CCU_GATE(ve_clk, "ve", "pll-ve", 0x13c, BIT(31), CLK_SET_RATE_PARENT);