From patchwork Thu Dec 19 15:55:01 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 22642 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-gg0-f200.google.com (mail-gg0-f200.google.com [209.85.161.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EF7B123FCA for ; Thu, 19 Dec 2013 15:55:37 +0000 (UTC) Received: by mail-gg0-f200.google.com with SMTP id p1sf1294505ggn.3 for ; Thu, 19 Dec 2013 07:55:37 -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=/NpXnNYZKfCQ+RLSriURIXElGEXr8MahHmA5WMIlq3E=; b=cJpZWrr1AGuJhPGrOYZYt5Ive0eAkkAJaIuYCTzOhgQ7IqpC9z7qUzSQBgk64jROmF blPEeyCytREt6oLUBkU2anHAt7gzPjLla39vxR5jcN3tM72FL1H0NKuWmTbGcK8IoXrU NS58kAnRYyRmynIchythPQvNHZ9K+SsmNhGPir0TPXiY85SfpGZXXjJdQtmzovux3XWH M4srxFE6AMcRjAAwXiYaFMiTzaNjodKgA0mhS7ecnrWZvWjG9p05pdbEpkq5HzaGPBow +FP4NfxwHaPiNf6LMLT3CDX6Xq5iAYvXWgIJo5sspcBlyy8UsXlWvfkNmqFfMmGj+7DS Mf2Q== X-Gm-Message-State: ALoCoQkwEuMVOIA58l5HYx2mQMkhCf1s0CRq8Dnc0X3ahIJ6COs9IMJoRhGpg8p8/aCAgVKgN5Ws X-Received: by 10.58.34.142 with SMTP id z14mr944406vei.23.1387468537133; Thu, 19 Dec 2013 07:55:37 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.127.99 with SMTP id nf3ls406224qeb.30.gmail; Thu, 19 Dec 2013 07:55:37 -0800 (PST) X-Received: by 10.58.37.67 with SMTP id w3mr504142vej.22.1387468537024; Thu, 19 Dec 2013 07:55:37 -0800 (PST) Received: from mail-vb0-f48.google.com (mail-vb0-f48.google.com [209.85.212.48]) by mx.google.com with ESMTPS id vq3si783845veb.27.2013.12.19.07.55.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 19 Dec 2013 07:55:37 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.48 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.48; Received: by mail-vb0-f48.google.com with SMTP id f13so733894vbg.21 for ; Thu, 19 Dec 2013 07:55:36 -0800 (PST) X-Received: by 10.58.156.106 with SMTP id wd10mr1314813veb.7.1387468536877; Thu, 19 Dec 2013 07:55:36 -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.59.13.131 with SMTP id ey3csp331339ved; Thu, 19 Dec 2013 07:55:35 -0800 (PST) X-Received: by 10.180.97.228 with SMTP id ed4mr3063218wib.15.1387468534609; Thu, 19 Dec 2013 07:55:34 -0800 (PST) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx.google.com with ESMTPS id dm5si1882101wib.74.2013.12.19.07.55.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 19 Dec 2013 07:55:34 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.178 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.212.178; Received: by mail-wi0-f178.google.com with SMTP id bz8so2397730wib.11 for ; Thu, 19 Dec 2013 07:55:34 -0800 (PST) X-Received: by 10.180.93.8 with SMTP id cq8mr3507947wib.38.1387468533979; Thu, 19 Dec 2013 07:55:33 -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 ko3sm279236wjb.23.2013.12.19.07.55.32 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 19 Dec 2013 07:55:33 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: linus.walleij@linaro.org, broonie@kernel.org, alsa-devel@alsa-project.org, Lee Jones Subject: [PATCH 04/11] ASoC: Ux500: Match platform by device node when booting Device Tree Date: Thu, 19 Dec 2013 15:55:01 +0000 Message-Id: <1387468508-12286-5-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1387468508-12286-1-git-send-email-lee.jones@linaro.org> References: <1387468508-12286-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.212.48 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. 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; }