[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160314104939.GL8418@lukather>
Date: Mon, 14 Mar 2016 11:49:39 +0100
From: Maxime Ripard <maxime.ripard@...e-electrons.com>
To: Danny Milosavljevic <dannym@...atchpost.org>
Cc: Mark Brown <broonie@...nel.org>, Chen-Yu Tsai <wens@...e.org>,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
alsa-devel@...a-project.org, Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Liam Girdwood <lgirdwood@...il.com>,
linux-sunxi@...glegroups.com
Subject: Re: [linux-sunxi] Re: [PATCH v8 2/2] ASoc: sun4i-codec: Add FM, Line
and Mic inputs
On Sat, Mar 12, 2016 at 08:52:22AM +0100, Danny Milosavljevic wrote:
> Hi,
>
> does anyone know the answer to the questions below?
>
> > The other direction (making two controls which both do the same and update
> > each other's value) doesn't seem to be easily available.
>
> > Should I write a _put handler that does it manually?
>
> > (Or should that be handled by alsa-lib mixer modules instead?)
>
> > Is it possible to merge the "Left Mixer" control and respective
> > "Right Mixer" control into one selem in alsamixer?
> >
> > Because alsamixer actually has support for one-sided muting.
Mark, do you know how to do it?
IIRC, in order to have shared controls, you just needed to share the
controls structure.
> If that's unknown, I can post v9 without doing the grouping-together
> of mixer controls and we can use it like that - I don't want the
> patch to stall indefinitely on mere usability issues...
Unfortunately, that is exposed to the user-space. Once it's in, you
cannot change it / fix it anymore.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists