From patchwork Wed Nov 6 10:16:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 21372 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pb0-f72.google.com (mail-pb0-f72.google.com [209.85.160.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 737F620DB9 for ; Wed, 6 Nov 2013 10:17:06 +0000 (UTC) Received: by mail-pb0-f72.google.com with SMTP id jt11sf15649927pbb.3 for ; Wed, 06 Nov 2013 02:17:05 -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=LYrGwf7naENzMDAz7JzNratEOI3m95/O4XOSkCdLyRo=; b=KOfEVDyrRthV+klXopH4UHE36fn1OIUVgW23LHP4oivr5DQmYgxU78FkpQZy9kGsyS r+VUuiEL0Tj7DzG/HV6IHMFhmWcu9kBcQppqiupO+Vh8LJnpE3bOq7gVODedSBedH3rD YviSyee6sompVVQdejp+TYsBStjn5usXnQUjuUMhmken6FsOQY/HI+5YWmNY60JV2VBW V0ifnXY1gLq+ae/YwjP0xtbyAznszUlKwSkSg9IX9PY1PPJ9eRXIq2SZoFknH+DWdy3b Xb04zmHNjdQ8Zf3jHHqzVW68cB8rqkJujhA8q048MW46qRFCLgKLGXvKDjB7FVw6ow3X i8yg== X-Gm-Message-State: ALoCoQmp2/xxas6vIfxid/ZKZdUikMcIPvP2vhZe6bCdSxeVxvL2Yj3V2Per0W8bdFWzhhsayEU6 X-Received: by 10.66.227.193 with SMTP id sc1mr1092737pac.25.1383733025478; Wed, 06 Nov 2013 02:17:05 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.117.69 with SMTP id kc5ls604619qeb.42.gmail; Wed, 06 Nov 2013 02:17:05 -0800 (PST) X-Received: by 10.52.98.99 with SMTP id eh3mr1390345vdb.29.1383733025283; Wed, 06 Nov 2013 02:17:05 -0800 (PST) Received: from mail-vb0-f52.google.com (mail-vb0-f52.google.com [209.85.212.52]) by mx.google.com with ESMTPS id o10si8160489vco.140.2013.11.06.02.17.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 06 Nov 2013 02:17:05 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.52 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.52; Received: by mail-vb0-f52.google.com with SMTP id f12so2590420vbg.25 for ; Wed, 06 Nov 2013 02:17:05 -0800 (PST) X-Received: by 10.58.46.171 with SMTP id w11mr1745257vem.5.1383733025202; Wed, 06 Nov 2013 02:17:05 -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 u4csp273215vcz; Wed, 6 Nov 2013 02:17:04 -0800 (PST) X-Received: by 10.42.54.132 with SMTP id r4mr1490485icg.19.1383733024582; Wed, 06 Nov 2013 02:17:04 -0800 (PST) Received: from mail-ie0-f176.google.com (mail-ie0-f176.google.com [209.85.223.176]) by mx.google.com with ESMTPS id ha5si3708884icc.52.2013.11.06.02.17.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 06 Nov 2013 02:17:04 -0800 (PST) Received-SPF: neutral (google.com: 209.85.223.176 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.223.176; Received: by mail-ie0-f176.google.com with SMTP id u16so16449506iet.7 for ; Wed, 06 Nov 2013 02:17:04 -0800 (PST) X-Received: by 10.42.70.5 with SMTP id d5mr1467049icj.39.1383733023885; Wed, 06 Nov 2013 02:17:03 -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 ka1sm13308397igb.7.2013.11.06.02.17.01 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 06 Nov 2013 02:17:03 -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 09/13] ASoC: Ux500: Match platform by device node when booting Device Tree Date: Wed, 6 Nov 2013 10:16:21 +0000 Message-Id: <1383732985-18928-10-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1383732985-18928-1-git-send-email-lee.jones@linaro.org> References: <1383732985-18928-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.52 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 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..4dc7b81 100644 --- a/sound/soc/ux500/mop500.c +++ b/sound/soc/ux500/mop500.c @@ -90,7 +90,9 @@ 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].platform_of_node = msp_np[i]; mop500_dai_links[i].cpu_dai_name = NULL; + mop500_dai_links[i].platform_name = NULL; mop500_dai_links[i].codec_of_node = codec_np; mop500_dai_links[i].codec_name = NULL; }