From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Subject: Re: [PATCH v3 07/11] ASoC: fsl: check property 'compatible' for the machine name Date: Thu, 8 Mar 2012 14:50:47 -0600 Message-ID: <4F591BA7.2050602@freescale.com> References: <1331225990-27308-1-git-send-email-shawn.guo@linaro.org> <1331225990-27308-8-git-send-email-shawn.guo@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from tx2outboundpool.messaging.microsoft.com (tx2ehsobe004.messaging.microsoft.com [65.55.88.14]) by alsa0.perex.cz (Postfix) with ESMTP id 9F41310BB90 for ; Thu, 8 Mar 2012 21:50:57 +0100 (CET) In-Reply-To: <1331225990-27308-8-git-send-email-shawn.guo@linaro.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Shawn Guo Cc: alsa-devel@alsa-project.org, Mark Brown , Sascha Hauer , linux-arm-kernel@lists.infradead.org List-Id: alsa-devel@alsa-project.org Shawn Guo wrote: > Check /compatible rather than /model to determine the machine name. > The p1022ds older device trees get a different /model from the new > ones, while /compatible is consistent there, so checking /compatible > will save the bother of detecting older p1022ds device trees. > > Signed-off-by: Shawn Guo > --- Acked-by: Timur Tabi -- Timur Tabi Linux kernel developer at Freescale From mboxrd@z Thu Jan 1 00:00:00 1970 From: timur@freescale.com (Timur Tabi) Date: Thu, 8 Mar 2012 14:50:47 -0600 Subject: [PATCH v3 07/11] ASoC: fsl: check property 'compatible' for the machine name In-Reply-To: <1331225990-27308-8-git-send-email-shawn.guo@linaro.org> References: <1331225990-27308-1-git-send-email-shawn.guo@linaro.org> <1331225990-27308-8-git-send-email-shawn.guo@linaro.org> Message-ID: <4F591BA7.2050602@freescale.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Shawn Guo wrote: > Check /compatible rather than /model to determine the machine name. > The p1022ds older device trees get a different /model from the new > ones, while /compatible is consistent there, so checking /compatible > will save the bother of detecting older p1022ds device trees. > > Signed-off-by: Shawn Guo > --- Acked-by: Timur Tabi -- Timur Tabi Linux kernel developer at Freescale