From patchwork Thu Jul 27 13:09:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 9866851 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 F3F3B6035E for ; Thu, 27 Jul 2017 13:10:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E5CFB274D2 for ; Thu, 27 Jul 2017 13:10:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DA1AA285F1; Thu, 27 Jul 2017 13:10:22 +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,RCVD_IN_DNSWL_NONE 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 E1BC4274D2 for ; Thu, 27 Jul 2017 13:10:20 +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:References: In-Reply-To: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:List-Owner; bh=1D+jEBfjV8hQO4tJ/Ja+NOaBPhNV0BBXFuNK7djTweI=; b=KFcMuRS7o7MoTyMESs00+mex2p xxW9x1zwJOMs+3XRji0gs4VrgoqnJ4gSNgFPjPgrRzVMksKWLEEYxai1GdpfP38cWoJ/QVTTmFxMU 4TzrFeR/PBN3/lM8Af1U9Mz9JKprRCA3zEE2AIxkNsbQtkMnZWG+SyaWX++FaaGki1gPi9NvvPL5u ZmQxeMJWcOuuwQLglT3HEg7rhBdgS9+6tJloeA88w1923+i2ptjzanK5dOhRZu0odk4XcGVH6nHDy AXcF9emD6/kVL8kuS0nVIiFdnJSeQSM+S9pcim3TiQ4X1b1iRAMBSMgnf5RUuUxmlEgAwviWD3U2Z 01dSe9XQ==; 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 1daiYW-0001js-Hs; Thu, 27 Jul 2017 13:10:20 +0000 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1daiYP-0000Pc-As for linux-amlogic@lists.infradead.org; Thu, 27 Jul 2017 13:10:17 +0000 Received: by mail-wm0-x22e.google.com with SMTP id c184so106696416wmd.0 for ; Thu, 27 Jul 2017 06:09:52 -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; bh=48Qn6eA5DIf7rO47I4LGGu0Eet03diHgffXHo84oTHU=; b=Z8obf3lr59Q6MBa07+DudG+RAMGfLVoNCmEgFF/Rbh0k+24Dbeu6PSLtyNoDPKAWZp cHoC9g0TJUvskxBbiZokOiPA+w4oGk8x/mJB1xSUIOkZcIz5IryHrQNQ4tzY+cvrMtaF v3t90beA8OhVuQJ0DtzIfWtQLAUfK6574HUL9pA5sasuoo658XtPPHXxnjwVgkKKFjfL WTLloO636McLl62s6f6iI7w3V0IY0DEnlAWcrrJcxTLoRIMhDeQk2WYd26dAawx1TUZD Bj0j44MeIBei1Lb+lRwQArF382bG7s9DlT1f/3FjNLi3SkL0/UUEWKwHHgdTIwWe/MdT EvgQ== 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; bh=48Qn6eA5DIf7rO47I4LGGu0Eet03diHgffXHo84oTHU=; b=ZF1w/yfIRezfoYMdgn9anbsGSe6OjbXCQJT0T4wcx9Dw8K9AB1c7xAJgjnhkMG6Rdk 6MVA2dsUBRuFrxng0e262LWbdNGeyw+R5O7B2OcN7va4PKQ9uQmSiNG+hmx44UTsoVy1 j8Tji8yYAYElg7H54H5Cky33NgobwtpRivhsp6p+T0i+lYhIWxHMDlB0ETW1D9ScRnlJ 7b1YjDjFHLOoC5SQrFjdy0US7HoVFMf3vXPD8Fn+hl1l5G2HCZVEFrmmJw1JmatnUG9b NGvhxPDgs+Kv/aMKcnjvG5j3SfRIYkHuju1JcqUkV2hb/aNorx2p9Y9/P09OfP50DtXC egyw== X-Gm-Message-State: AIVw113yInnkSVb1DnUjAgFiTD1ukR0d6W0w7ztML/J9wwunJy4x4/p0 kG+fCxKR4YCwaQch X-Received: by 10.28.46.197 with SMTP id u188mr3072806wmu.26.1501160990498; Thu, 27 Jul 2017 06:09:50 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id t33sm22382433wrc.50.2017.07.27.06.09.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Jul 2017 06:09:50 -0700 (PDT) From: Jerome Brunet To: Neil Armstrong , Michael Turquette , Stephen Boyd , Kevin Hilman Subject: [PATCH 1/2] clk: meson: gxbb: fix meson cts_amclk divider flags Date: Thu, 27 Jul 2017 15:09:39 +0200 Message-Id: <20170727130940.18005-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170727130940.18005-1-jbrunet@baylibre.com> References: <20170727130940.18005-1-jbrunet@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170727_061013_810168_81E5CBC1 X-CRM114-Status: UNSURE ( 9.30 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@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-kernel@vger.kernel.org, Carlo Caione , linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP CLK_DIVIDER_ROUND_CLOSEST was incorrectly put in the hw.init flags while it should have been in the divider flags Fixes: 4087bd4b2170 ("clk: meson: gxbb: add cts_amclk") Signed-off-by: Jerome Brunet --- drivers/clk/meson/gxbb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/meson/gxbb.c b/drivers/clk/meson/gxbb.c index a897ea45327c..b1b72524153b 100644 --- a/drivers/clk/meson/gxbb.c +++ b/drivers/clk/meson/gxbb.c @@ -845,13 +845,14 @@ static struct meson_clk_audio_divider gxbb_cts_amclk_div = { .shift = 0, .width = 8, }, + .flags = CLK_DIVIDER_ROUND_CLOSEST, .lock = &clk_lock, .hw.init = &(struct clk_init_data){ .name = "cts_amclk_div", .ops = &meson_clk_audio_divider_ops, .parent_names = (const char *[]){ "cts_amclk_sel" }, .num_parents = 1, - .flags = CLK_SET_RATE_PARENT | CLK_DIVIDER_ROUND_CLOSEST, + .flags = CLK_SET_RATE_PARENT, }, };