From patchwork Wed Aug 6 13:56:05 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomeu Vizoso X-Patchwork-Id: 4686591 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8C6C59F375 for ; Wed, 6 Aug 2014 13:58:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C7BF520136 for ; Wed, 6 Aug 2014 13:58:50 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 09CF720121 for ; Wed, 6 Aug 2014 13:58:50 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XF1iB-0004kv-HU; Wed, 06 Aug 2014 13:57:03 +0000 Received: from mail-we0-x231.google.com ([2a00:1450:400c:c03::231]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XF1hy-0004YL-W5 for linux-arm-kernel@lists.infradead.org; Wed, 06 Aug 2014 13:56:52 +0000 Received: by mail-we0-f177.google.com with SMTP id w62so2698942wes.22 for ; Wed, 06 Aug 2014 06:56:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=s2ZKr3tMgMBjh07JP6+yc1e7ZRQVIlS+t+LttuC2wnk=; b=RobbPLGKvagvoV5+v/iQcQpoeBhEuZmRZAV29XOADlhcIPmJLMyui0p8nkMLIQ3zU8 6MfblC6/zhJb66uGKr/gXvBnbS13PHDMvec4WULer6AKR685aIAObpArpb6e2eeJJzv8 KYfY11TUn/l6H5DdqlUUfY2kZ3zwu1w47NwSibaRT02jXVStBLfoIqIGKVJC6zkBy7CM HYRQq0QgSnYPIysSDEsUTx7zAJUgyoKR7bos+/DXqdJniZKhC1OWCto5rMjbhlu9h7HZ m+efea6QnBC4nesU7GAPmOU1m4zh/655AADDAsBWPe1sSn7jv44cMGh3GwazkmI4xHMm /wng== X-Received: by 10.194.7.167 with SMTP id k7mr15771067wja.11.1407333388987; Wed, 06 Aug 2014 06:56:28 -0700 (PDT) Received: from cizrna.lan (37-48-39-114.tmcz.cz. [37.48.39.114]) by mx.google.com with ESMTPSA id td10sm18621556wic.10.2014.08.06.06.56.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Aug 2014 06:56:28 -0700 (PDT) From: Tomeu Vizoso To: Mike Turquette Subject: [PATCH v5 2/6] ASoC: mxs-saif: fix mixed use of public and provider clk API Date: Wed, 6 Aug 2014 15:56:05 +0200 Message-Id: <1407333368-31979-3-git-send-email-tomeu.vizoso@collabora.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1407333368-31979-1-git-send-email-tomeu.vizoso@collabora.com> References: <1407333368-31979-1-git-send-email-tomeu.vizoso@collabora.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140806_065651_174942_D3A75EB3 X-CRM114-Status: GOOD ( 10.86 ) X-Spam-Score: -0.7 (/) Cc: Tomeu Vizoso , Stephen Warren , Tomasz Figa , linux-kernel@vger.kernel.org, Javier Martinez Canillas , rabin@rab.in, Thierry Reding , Peter De Schrijver , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP In preparation to changing the clk provider API to use struct clk_core instead of struct clk. Signed-off-by: Tomeu Vizoso Acked-by: Mark Brown --- sound/soc/mxs/mxs-saif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/mxs/mxs-saif.c b/sound/soc/mxs/mxs-saif.c index 231d7e7..a24367d 100644 --- a/sound/soc/mxs/mxs-saif.c +++ b/sound/soc/mxs/mxs-saif.c @@ -682,11 +682,11 @@ static int mxs_saif_mclk_init(struct platform_device *pdev) { struct mxs_saif *saif = platform_get_drvdata(pdev); struct device_node *np = pdev->dev.of_node; - struct clk *clk; + struct clk_core *clk; int ret; clk = clk_register_divider(&pdev->dev, "mxs_saif_mclk", - __clk_get_name(saif->clk), 0, + clk_get_name(saif->clk), 0, saif->base + SAIF_CTRL, BP_SAIF_CTRL_BITCLK_MULT_RATE, 3, 0, NULL);