Re: [alsa-devel] [PATCH v4 3/7] ASoC: da7210: Add support for muteand zero cross controls

From: Mark Brown
Date: Tue Oct 18 2011 - 08:31:26 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/