From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757617Ab1JRMb1 (ORCPT ); Tue, 18 Oct 2011 08:31:27 -0400 Received: from opensource.wolfsonmicro.com ([80.75.67.52]:49643 "EHLO opensource.wolfsonmicro.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757551Ab1JRMb0 (ORCPT ); Tue, 18 Oct 2011 08:31:26 -0400 Date: Tue, 18 Oct 2011 13:31:24 +0100 From: Mark Brown To: Ashish Chavan Cc: lrg , alsa-devel , David Dajun Chen , "kuninori.morimoto.gx" , linux-kernel Subject: Re: [alsa-devel] [PATCH v4 3/7] ASoC: da7210: Add support for mute and zero cross controls Message-ID: <20111018123124.GC28501@opensource.wolfsonmicro.com> References: <1318670595.613.42.camel@matrix> <20111017214242.GD5200@opensource.wolfsonmicro.com> <1318938548.13721.23.camel@matrix> <20111018120841.GA28501@opensource.wolfsonmicro.com> <1318940943.13721.25.camel@matrix> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1318940943.13721.25.camel@matrix> X-Cookie: Avoid gunfire in the bathroom tonight. User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 18, 2011 at 05:59:03PM +0530, Ashish Chavan wrote: > On Tue, 2011-10-18 at 13:08 +0100, Mark Brown wrote: > > On Tue, Oct 18, 2011 at 05:19:08PM +0530, Ashish Chavan wrote: > > > SOC_DOUBLE_R("Mic Capture Switch", ...), > > > SOC_SINGLE("Aux2 Capture Switch", ...), > > > SOC_DOUBLE_R_TLV("Mic Capture Volume", ...), > > > SOC_SINGLE_TLV("Aux2 Capture Volume", ...), > > I don't see any conflict in the above? > If I add these two, alsamixer and amixer shows only one of them (one > which is added first). Is that fine? Eh? One is a Volume, the other is a Switch. Note that alsamixer does render the two stacked on top of each other in the UI.