From patchwork Mon Sep 1 15:29:37 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomeu Vizoso X-Patchwork-Id: 4821061 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 AA7B79F314 for ; Mon, 1 Sep 2014 15:36:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5676720138 for ; Mon, 1 Sep 2014 15:36:13 +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 E1C3020176 for ; Mon, 1 Sep 2014 15:36:08 +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 1XOTaN-0003eU-Su; Mon, 01 Sep 2014 15:32:03 +0000 Received: from mail-lb0-f173.google.com ([209.85.217.173]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XOTZJ-0001ds-1b for linux-arm-kernel@lists.infradead.org; Mon, 01 Sep 2014 15:30:57 +0000 Received: by mail-lb0-f173.google.com with SMTP id c11so6104453lbj.18 for ; Mon, 01 Sep 2014 08:30:31 -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=RPDrtagPo7C3tJbQWdwI66sITSLySnCQE6v7kjSv+PtsLh652iqsy7x1/HI8z2o2HE dQatUa+nReCER49dgbUdrVBmDcUq09tnhh7dj6Bay2dA2lx6NHBEmg3ebVY8Jo7VtiE8 AbgYyRDm98WfI5/TRmnspj//r0Fn0rBd9PwqJYT/kMFeWJP0G3m5iCXhLH/Pi7MkJ+Gk Vk6jzNi+j6jsZucB0G7Cn5Qxu/OWeMcSuD0sLpFuqelRvHjkOpQ54YmXNNXGMLXfe0S3 kqLIXNygscRaMSuBuJZrbrnrHOsNgLCoXGlCXcypk399XDN4MRBtycrzqXWxQlcWjA29 oEZw== X-Received: by 10.112.130.41 with SMTP id ob9mr6739957lbb.12.1409585431514; Mon, 01 Sep 2014 08:30:31 -0700 (PDT) Received: from cizrna.lan (37-48-46-170.tmcz.cz. [37.48.46.170]) by mx.google.com with ESMTPSA id sr4sm739080lac.39.2014.09.01.08.30.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Sep 2014 08:30:30 -0700 (PDT) From: Tomeu Vizoso To: Mike Turquette Subject: [PATCH v8 2/7] ASoC: mxs-saif: fix mixed use of public and provider clk API Date: Mon, 1 Sep 2014 17:29:37 +0200 Message-Id: <1409585377-26091-3-git-send-email-tomeu.vizoso@collabora.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1409585377-26091-1-git-send-email-tomeu.vizoso@collabora.com> References: <1409585377-26091-1-git-send-email-tomeu.vizoso@collabora.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140901_083057_283706_39902F4F X-CRM114-Status: GOOD ( 11.19 ) 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=-3.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable 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);