From patchwork Thu Mar 9 10:41:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 9613051 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 7A7FD602B4 for ; Thu, 9 Mar 2017 10:53:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6B24D285CE for ; Thu, 9 Mar 2017 10:53:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5F23A285F5; Thu, 9 Mar 2017 10:53:38 +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 1FA23285ED for ; Thu, 9 Mar 2017 10:53:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754204AbdCIKso (ORCPT ); Thu, 9 Mar 2017 05:48:44 -0500 Received: from mail-wm0-f54.google.com ([74.125.82.54]:36569 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753196AbdCIKsc (ORCPT ); Thu, 9 Mar 2017 05:48:32 -0500 Received: by mail-wm0-f54.google.com with SMTP id n11so136220638wma.1 for ; Thu, 09 Mar 2017 02:48:31 -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=Bo+vYzQmRkqPeqyJJhhLW1KuUqjfuA81eZjNSUOdQ8Y=; b=DV4HhtnNyhf/SLzuqvr3mJsKq5C52/z+aGdyOgAOgHt5xEwGgQw3KZv/lit+tO1qZS 2/xyEwcwfMK7pIJ6Tx7ZuQ5lzTwWdeL/qUltlIkszrUBsqWRYB6eZn+ihQHAiJlFMNUR ypCtFRhpigbB40AsU/6YrrNDKrqa6UVvEgTs0Bvd0PG25IdLnEenvW+BN4zRUj3q/Qfx 5WLyZuqI6L03+wj1LJOGujXfOBYK0UYNleLfxklmX9Myi0vEd+sB4Jc8WCKwBbSlK//P svyLB5PoR3jLVCfUdDCKquRAHwJB5NV4Cgt8uFi5ZzlexZy3BzewSGc9pEcCRKMHAbUW 961w== 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=Bo+vYzQmRkqPeqyJJhhLW1KuUqjfuA81eZjNSUOdQ8Y=; b=GYVMEsziEuoCEuKoBOPxjUFZOnsZ4XzlaV9cF2nO2pWjd8HmjwgFx857iUgEkey/RY OSHZA/f9vTycZOyhkpK/V3cqJhFm+Wo4I6PlwBBUmw0Vnr+STjStqfgnWlApaT4zF7lO K93sjmKfzFAI3pE8F00waePLhxbaNqdx5xTm0O49Hi5Vs05W0YDY04rJqdoLGWgXE4WA 2dHelakgP3dE8H4hThkh/t8aqgsMfM9CVGVZIcI94Cf+TPSkHPj0siGbibK/u5an21h4 hYFdeRuhJvAKV6uFVwvA7RjvrGBYwRKSRj6yr6fBENUEeTJiRf3F8L5otnA4rhkNz5iN EeEw== X-Gm-Message-State: AMke39kJFIPI8fqlYfcUBDtyBKVPiILjg+lDppYcy5A8z4XXPm1m1eDkOG1PWcZhAZ65EmxR X-Received: by 10.28.94.2 with SMTP id s2mr9320056wmb.127.1489056129914; Thu, 09 Mar 2017 02:42:09 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id e6sm7724113wrc.30.2017.03.09.02.42.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Mar 2017 02:42:09 -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 v2 6/9] clk: meson: gxbb: mpll: use rw operation Date: Thu, 9 Mar 2017 11:41:51 +0100 Message-Id: <20170309104154.28295-7-jbrunet@baylibre.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170309104154.28295-1-jbrunet@baylibre.com> References: <20170309104154.28295-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 79fb8989f8dd..5059c7bbdbb3 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, },