From: Takashi Iwai Subject: Re: Problem setting mixer switch with amixer/alsactl. Date: Tue, 28 Oct 2008 16:54:27 +0100 Message-ID: References: <48FF7538.3090000@oliford.co.uk> <20081023132705.GA20557@sirena.org.uk> <4900829A.8000703@oliford.co.uk> <20081023140116.GB17901@sirena.org.uk> <87mygvmci7.fsf@free.fr> <20081024172533.GA3328@sirena.org.uk> <87ej25ero2.fsf@free.fr> <20081028131031.GG9068@sirena.org.uk> <20081028153435.GK9068@sirena.org.uk> <20081028154856.GL9068@sirena.org.uk> 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 (ns.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 9F504103830 for ; Tue, 28 Oct 2008 16:54:27 +0100 (CET) In-Reply-To: <20081028154856.GL9068@sirena.org.uk> 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, Robert Jarzmik , Oliver Ford List-Id: alsa-devel@alsa-project.org At Tue, 28 Oct 2008 15:48:57 +0000, Mark Brown wrote: > > On Tue, Oct 28, 2008 at 04:41:33PM +0100, Takashi Iwai wrote: > > Mark Brown wrote: > > > > Gah, sorry - it doesn't help, I was masking the problem another way. > > > ... and I think soc-dapm should warn if the string is too long, at > > least, so that you can notice and fix them. > > Well, with the patch supplied (which I intend to push anyway) ASoC won't > enforce any limit and will just pass the string onto the ALSA core - > probably best to warn in snd_ctl_new1(). I'll take a look. Agreed, it'd be a good place. Takashi