From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lu Guanqun Subject: Re: [PATCH V3 1/5] sound: asoc: Adding support for STA529 Audio Codec Date: Tue, 12 Apr 2011 08:06:07 +0800 Message-ID: <20110412000607.GA18868@qtel.sh.intel.com> References: <1302499804-24386-1-git-send-email-rajeev-dlh.kumar@st.com> <1302499804-24386-2-git-send-email-rajeev-dlh.kumar@st.com> <20110411125318.GA11072@qtel.sh.intel.com> <20110411133500.GA24973@opensource.wolfsonmicro.com> <20110411150937.GA12824@qtel.sh.intel.com> <20110411235418.GH29405@opensource.wolfsonmicro.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by alsa0.perex.cz (Postfix) with ESMTP id A4B8E10383C for ; Tue, 12 Apr 2011 02:07:03 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20110411235418.GH29405@opensource.wolfsonmicro.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: Mark Brown Cc: "tiwai@suse.de" , "alsa-devel@alsa-project.org" , Rajeev Kumar , "lrg@slimlogic.co.uk" List-Id: alsa-devel@alsa-project.org On Tue, Apr 12, 2011 at 07:54:20AM +0800, Mark Brown wrote: > On Mon, Apr 11, 2011 at 11:09:37PM +0800, Lu Guanqun wrote: > > On Mon, Apr 11, 2011 at 09:35:01PM +0800, Mark Brown wrote: > > > > This is only for devices that support more than one control interface. > > > If the device only supports one control interface there is no need to > > > make anything conditional. > > > Well, but there are many codecs which support only one control interface > > while having this #ifdef condition... > > Usually you'll find that these are devices which support multiple > control interfaces but where the driver has only implemented one so far > for some reason. OK. Thanks for the explanation. -- guanqun