From patchwork Tue Nov 19 11:07:44 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 21618 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f69.google.com (mail-vb0-f69.google.com [209.85.212.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7586423FB4 for ; Tue, 19 Nov 2013 11:08:15 +0000 (UTC) Received: by mail-vb0-f69.google.com with SMTP id m10sf639957vbh.8 for ; Tue, 19 Nov 2013 03:08:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=Ah2fPxWMCJ4Pe7F+DMasCchOYmiyNa2z3lwAOmraxRg=; b=RwtTDVdxJMdRZnZMxd9LzLnmfCoLgBI7Qvjm6/SKwimQD4qDdQSQYpVLcicTOMtFh+ 2mo/lVmwg3Qc1Rts8pW+Ld7S64PixQzVGiBWBdaUbXP8YdrxIqmtfHoify8j0jR3lSmF kr2kkkcz8js7vW7O6nS5/sd3pg+ZONc5/WT+hrsKV5NRnYcOGqrH7NQ3LQOzQ/d6cEKR k85Eo2xER4IostVD/yaPw1yQJamZCQDuL3wx2xndMbuNmqxNPQUrRI+PKeelD1a8WhKQ +6ycrBPOf4j+ChIF3MMD1oqT/Ous/ipRjMlnhexLJaztx85ImY+fGAiWDQGjBJel05a7 GaHA== X-Gm-Message-State: ALoCoQmt46mgQJA4LrYG4P3+W9h2TUwRekFZ5qBTdnw4PvpD6XqDsEKTwwizw8FMRfk9pj/CJ099 X-Received: by 10.236.18.196 with SMTP id l44mr575259yhl.52.1384859295186; Tue, 19 Nov 2013 03:08:15 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.62.199 with SMTP id a7ls1088743qes.87.gmail; Tue, 19 Nov 2013 03:08:15 -0800 (PST) X-Received: by 10.52.248.197 with SMTP id yo5mr17346781vdc.0.1384859295099; Tue, 19 Nov 2013 03:08:15 -0800 (PST) Received: from mail-vc0-f176.google.com (mail-vc0-f176.google.com [209.85.220.176]) by mx.google.com with ESMTPS id f14si8008985veh.62.2013.11.19.03.08.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 19 Nov 2013 03:08:15 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.176; Received: by mail-vc0-f176.google.com with SMTP id lf12so182721vcb.7 for ; Tue, 19 Nov 2013 03:08:15 -0800 (PST) X-Received: by 10.220.95.139 with SMTP id d11mr753993vcn.21.1384859295018; Tue, 19 Nov 2013 03:08:15 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp269504vcz; Tue, 19 Nov 2013 03:08:14 -0800 (PST) X-Received: by 10.60.51.7 with SMTP id g7mr25278314oeo.6.1384859294432; Tue, 19 Nov 2013 03:08:14 -0800 (PST) Received: from mail-oa0-f48.google.com (mail-oa0-f48.google.com [209.85.219.48]) by mx.google.com with ESMTPS id w10si15163847obo.4.2013.11.19.03.08.14 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 19 Nov 2013 03:08:14 -0800 (PST) Received-SPF: neutral (google.com: 209.85.219.48 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.219.48; Received: by mail-oa0-f48.google.com with SMTP id n16so8630829oag.35 for ; Tue, 19 Nov 2013 03:08:14 -0800 (PST) X-Received: by 10.182.199.70 with SMTP id ji6mr24328805obc.36.1384859293986; Tue, 19 Nov 2013 03:08:13 -0800 (PST) Received: from localhost.localdomain (cpc15-aztw25-2-0-cust493.aztw.cable.virginm.net. [92.233.57.238]) by mx.google.com with ESMTPSA id d8sm34904086oeu.6.2013.11.19.03.08.12 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 19 Nov 2013 03:08:13 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: linus.walleij@linaro.org, Lee Jones , alsa-devel@alsa-project.org, Mark Brown Subject: [PATCH 05/10] ASoC: Ux500: Match platform by device node when booting Device Tree Date: Tue, 19 Nov 2013 11:07:44 +0000 Message-Id: <1384859269-19801-6-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1384859269-19801-1-git-send-email-lee.jones@linaro.org> References: <1384859269-19801-1-git-send-email-lee.jones@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , We're getting closer to fully enabling the Ux500 ASoC driver for Device Tree. When we switch over from using AUXDATA we'll need to match platform by only Device Tree nodes. In this patch we NULL out the platform_name, and supply nodes for each platform device. Cc: alsa-devel@alsa-project.org Cc: Mark Brown Acked-by: Linus Walleij Signed-off-by: Lee Jones --- sound/soc/ux500/mop500.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/ux500/mop500.c b/sound/soc/ux500/mop500.c index 178d1ba..b3b66aa 100644 --- a/sound/soc/ux500/mop500.c +++ b/sound/soc/ux500/mop500.c @@ -91,6 +91,8 @@ static int mop500_of_probe(struct platform_device *pdev, for (i = 0; i < 2; i++) { mop500_dai_links[i].cpu_of_node = msp_np[i]; mop500_dai_links[i].cpu_dai_name = NULL; + mop500_dai_links[i].platform_of_node = msp_np[i]; + mop500_dai_links[i].platform_name = NULL; mop500_dai_links[i].codec_of_node = codec_np; mop500_dai_links[i].codec_name = NULL; }