From: Takashi Iwai Subject: Re: [PATCH V3 1/5] sound: asoc: Adding support for STA529 Audio Codec Date: Thu, 14 Apr 2011 11:54:11 +0200 Message-ID: References: <1302499804-24386-1-git-send-email-rajeev-dlh.kumar@st.com> <1302499804-24386-2-git-send-email-rajeev-dlh.kumar@st.com> <20110411145621.GA26769@opensource.wolfsonmicro.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (cantor.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id F062E103813 for ; Thu, 14 Apr 2011 11:54:14 +0200 (CEST) In-Reply-To: <20110411145621.GA26769@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: alsa-devel@alsa-project.org, Rajeev Kumar , lrg@slimlogic.co.uk List-Id: alsa-devel@alsa-project.org At Mon, 11 Apr 2011 07:56:22 -0700, Mark Brown wrote: > > > +static const struct snd_kcontrol_new sta529_new_snd_controls[] = { > > + SOC_ENUM("pwm select", pwm_src_enum), > > + SOC_ENUM("mode select", mode_src_enum), > > +}; > > ALSA control names are idiomatically things like "PWM Select" with > capitalisation. Actually, the capital words are no mandatory requirement (although it's conventionally so). It's just alsa-mixer grouping rule that requires the capital words "Play", "Capture", "Volume", "Switch", etc. You don't have to obey Capitalism :) Takashi