From: Mark Brown Subject: Re: [RFC 0/5] ASoC multi-component support : core Date: Thu, 1 Jul 2010 20:35:58 +0100 Message-ID: <20100701193558.GF17698@sirena.org.uk> References: <1277407467.3100.579.camel@odin> <20100628101621.c811a1da.jhnikula@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from cassiel.sirena.org.uk (cassiel.sirena.org.uk [80.68.93.111]) by alsa0.perex.cz (Postfix) with ESMTP id 2C18C24459 for ; Thu, 1 Jul 2010 21:36:16 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20100628101621.c811a1da.jhnikula@gmail.com> 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: Jarkko Nikula Cc: vbarinov , alsa-devel , Lars-Peter Clausen , Wan ZongShun , Haojian@alsa-project.org, Sascha Hauer , jassisinghbrar , Peter Ujfalusi , Cliff Cai , Zhuang , Sedji Gaouaou , "timur.tabi@gmail.com" , "Candelaria Villareal, Jorge" , "vaibhav.bedia" , Kuninori Morimoto , Ryan Mallon , Liam Girdwood List-Id: alsa-devel@alsa-project.org On Mon, Jun 28, 2010 at 10:16:21AM +0300, Jarkko Nikula wrote: > If some board doesn't work then fix is most probably just > adding .codec_id = I2C address of the codec (or -1) to snd_soc_dai_link > structure of that machine. This issue appears to apply to the overwhelming majority of machine drivers. I suspect that it'd be more straightforward to convert to using a dev_id with NULL as the wildcard match - this allows us to cope with deduping over multiple I2C buses, cope with non-numeric IDs and (more to the point here) will mean that we don't need to go through all the machine drivers initialising the codec_id.