Message ID | 20170727130940.18005-2-jbrunet@baylibre.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 89B606035E for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 27 Jul 2017 13:10:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7B39528470 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 27 Jul 2017 13:10:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6FC8C2881E; Thu, 27 Jul 2017 13:10:27 +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 EB99A28470 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 27 Jul 2017 13:10:26 +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=J8RyQ9n905xVYnve9RnNx8RmXAb95edTkOyBJYYJad4=; b=u4cl7rlh/GWcHfQmWONU5ASL91 W4wIVLYT4YShCyb4YiOHXl/T/GP+9XENPz4drIwjdkESyTQ4OEGFsqmtlljWeCHL+tZWRpT63Xtim 6A4KDEArnPffcDxLohLXLhqSwhV9R3cdolS1lTQ2KKo7V0wHr4cG2pSiL6yIPnHK9pX6RBgkKXnxl 0KWsVXaScWl6KUnsDCQsdbvunvNYpl+dt5cCd8ELOx8dUuQQvzA7nUlFVfusjweLNY4T98nZTVxbq ARvNUZAzkyuDamQLx1dKf/ZiPxoiB3oMsk3nbWd+uaT37SOumO55F8BVkR4AU5XW9Iv77oXH19+dW V7V3j6AQ==; 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 1daiYY-0001l4-Tn; Thu, 27 Jul 2017 13:10:22 +0000 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1daiYP-0000Pb-DJ for linux-arm-kernel@lists.infradead.org; Thu, 27 Jul 2017 13:10:17 +0000 Received: by mail-wm0-x22c.google.com with SMTP id m85so92852145wma.1 for <linux-arm-kernel@lists.infradead.org>; Thu, 27 Jul 2017 06:09:53 -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=DriRXSaew1wHSH4cHsj8TdpVE48Pf9OYi3WftNPLp+vzyZSPpHhcmzDK7Ozp/xAX5E WnPcuZTTACH5wzDPzy/gp7f+OcCGFAeuTVJUZuBmNqAhAWsGmZOFl7Lnuu2CDZtC+tS6 JnTDZIHpYe1UlwL6EqixG2zGGsP36mLhqDXzTbTJWiga9jDGr4PxLwZ40C/IVCpNGDx6 eSudMijcyQgAN1NXCwcPpVE33TBMxav4mKneyovQz6B3h0j1Acse0o7/amq7UhK5bEum dOCHaKVMPonY1UJt09co4YtEjHjOSkwA3F3FZ9s9JQZObmg1id841nBHnhC/S1Np0+0w VPDw== X-Gm-Message-State: AIVw110RgFv/i0Wz5M1d3VviIFNIiCS2Y6G/npJwqXvVyjYv9xf1CECH 88J8X9l5mTkwiqvAs74= 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 <jbrunet@baylibre.com> To: Neil Armstrong <narmstrong@baylibre.com>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@codeaurora.org>, Kevin Hilman <khilman@baylibre.com> 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_684942_E7C08AF8 X-CRM114-Status: GOOD ( 10.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: linux-kernel@vger.kernel.org, Carlo Caione <carlo@caione.org>, linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet <jbrunet@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
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, }, };
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 <jbrunet@baylibre.com> --- drivers/clk/meson/gxbb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)