From patchwork Tue Feb 28 13:29:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 9595611 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 2FE0F601D7 for ; Tue, 28 Feb 2017 13:33:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1B4EB28504 for ; Tue, 28 Feb 2017 13:33:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0DE8428520; Tue, 28 Feb 2017 13:33:10 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6C9F128504 for ; Tue, 28 Feb 2017 13:33:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752571AbdB1Nc1 (ORCPT ); Tue, 28 Feb 2017 08:32:27 -0500 Received: from mail-wm0-f48.google.com ([74.125.82.48]:35536 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752536AbdB1Na5 (ORCPT ); Tue, 28 Feb 2017 08:30:57 -0500 Received: by mail-wm0-f48.google.com with SMTP id v186so85503955wmd.0 for ; Tue, 28 Feb 2017 05:30:22 -0800 (PST) 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=oqz/fKQTye9a1ibubUakWKZd6NyVzHwwL+klbN1f/uo=; b=HycQ+mGNRAiBXNCxF6vZ2+xMZSm/3PgKEJOvHaN77Cs72/4khoimyzN1zkxrYJk1PS ENoGgkNkesUQIc7lHb9pZo73UYMkK33hy6S8fXgzEtdVi5urrzj9kCnUNkcqV0WRT3wo RYVWKQEUEKd2u7LbAsid3phbnBH3BAKd7j92AebhlzxLJIbCBzq71ezyhDzxNaLvMvcd BiVdIfPOSl7q1fYUxQeAQSMwbfoFeltSkh1OmVMzrZXO0qRHyA4WrbxkfbAnbF73Bytf kkPbARMWcIYLzg6P6AjjTrgn/YaYGzvSYaJRiznuZIM/SPzI7Ch8aPo9LjhEDAp1jmVx 4i9Q== 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=oqz/fKQTye9a1ibubUakWKZd6NyVzHwwL+klbN1f/uo=; b=pIItX09gd0CVTQbDeGThQXcqWdx9djQkt5IgfuOZqop34297KSPHLsp94SmVc1P5YE pynjm3uzYpMmPtggD4Alwk6H+kfc/odnL+/H9nPsR960mtU4Gm7BDmjKU1uAWNtz390J kbS+aqF9d88jIBs2L+u5goX2rtSpCm7A3vzUxz/6FJ5xGTaiwuV3SfSuDhCRFLstrwqb xyNMS6pobbdgVeu372OJG2bIjJlP2bPAOFVI6fOEFxfSfDnfp70U2L5NRxjV9M10RLDR E93khztFghylQzYLatqb6N8ukFcoXKDF79nX9s5nnw7dvZ9/Od7NdyEojHwovVxPOjbn JjPg== X-Gm-Message-State: AMke39nNnA7cNMGDaXEwqouMKA+QAP2Mb4HRXhYG4InvVlQwnYnYMATtTnJOZsZ2FiHGxWdF X-Received: by 10.28.146.207 with SMTP id u198mr17845547wmd.36.1488288621629; Tue, 28 Feb 2017 05:30:21 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id k70sm18550982wmc.3.2017.02.28.05.30.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Feb 2017 05:30:21 -0800 (PST) From: Jerome Brunet To: Michael Turquette , Stephen Boyd , Kevin Hilman , Carlo Caione Cc: Jerome Brunet , linux-clk@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/7] clk: meson: gxbb: mpll: use rw operation Date: Tue, 28 Feb 2017 14:29:59 +0100 Message-Id: <20170228133002.17894-5-jbrunet@baylibre.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170228133002.17894-1-jbrunet@baylibre.com> References: <20170228133002.17894-1-jbrunet@baylibre.com> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Use read/write operations for the mpll clocks instead of the read-only ones. Signed-off-by: Jerome Brunet --- drivers/clk/meson/gxbb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/meson/gxbb.c b/drivers/clk/meson/gxbb.c index 6b97f4da1708..a52063f57d00 100644 --- a/drivers/clk/meson/gxbb.c +++ b/drivers/clk/meson/gxbb.c @@ -459,7 +459,7 @@ static struct meson_clk_mpll gxbb_mpll0 = { .lock = &clk_lock, .hw.init = &(struct clk_init_data){ .name = "mpll0", - .ops = &meson_clk_mpll_ro_ops, + .ops = &meson_clk_mpll_ops, .parent_names = (const char *[]){ "fixed_pll" }, .num_parents = 1, }, @@ -489,7 +489,7 @@ static struct meson_clk_mpll gxbb_mpll1 = { .lock = &clk_lock, .hw.init = &(struct clk_init_data){ .name = "mpll1", - .ops = &meson_clk_mpll_ro_ops, + .ops = &meson_clk_mpll_ops, .parent_names = (const char *[]){ "fixed_pll" }, .num_parents = 1, }, @@ -519,7 +519,7 @@ static struct meson_clk_mpll gxbb_mpll2 = { .lock = &clk_lock, .hw.init = &(struct clk_init_data){ .name = "mpll2", - .ops = &meson_clk_mpll_ro_ops, + .ops = &meson_clk_mpll_ops, .parent_names = (const char *[]){ "fixed_pll" }, .num_parents = 1, },