From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: ASoC - Support for multiple components Date: Mon, 26 Apr 2010 11:49:39 +0100 Message-ID: <20100426104939.GC2035@sirena.org.uk> References: <1271686144.3208.305.camel@odin> <201004201017.47719.peter.ujfalusi@nokia.com> <1271760367.3234.159.camel@odin> 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 4A0DA1037F5 for ; Mon, 26 Apr 2010 12:49:49 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1271760367.3234.159.camel@odin> 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: Liam Girdwood Cc: vbarinov , Cliff Cai , Joonyoung Shim , Timur Tabi , Sascha Hauer , "Candelaria Villareal, Jorge" , Peter Ujfalusi , alsa-devel@alsa-project.org, Haojian Zhuang , "dg@emlix.com" , Grant Likely , Sedji Gaouaou , "kyungmin.park" , ben-linux , Kuninori Morimoto , "mano@roarinelk.homelinux.net" , "anemo@mba.ocn.ne.jp" List-Id: alsa-devel@alsa-project.org On Tue, Apr 20, 2010 at 11:46:07AM +0100, Liam Girdwood wrote: > On Tue, 2010-04-20 at 10:17 +0300, Peter Ujfalusi wrote: > > How the user will see these in one card? > A subsequent patch will add an ID qualifier to kcontrol names and DAPM > widget names. So we can have things like "Master Playback Volume.0" and > "Master Playback Volume.1" to differentiate the two separate controls. It occurs to me that we probably want something a bit more flexible here than just a numeric ID - most of the use cases for having more than one of the same device are for things like 5.1 or dual speaker amps for stereo where it'd be much more convenient to have the machine driver be able to add text based prefixes to the control names (eg, "Left" and "Right").