[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140318235941.GT11706@sirena.org.uk>
Date: Tue, 18 Mar 2014 23:59:41 +0000
From: Mark Brown <broonie@...nel.org>
To: Arun Shamanna Lakshmi <aruns@...dia.com>
Cc: <lgirdwood@...il.com>, <perex@...ex.cz>, <tiwai@...e.de>,
<alsa-devel@...a-project.org>, <linux-kernel@...r.kernel.org>,
Songhee Baek <sbaek@...dia.com>
Subject: Re: [PATCH] ASoC: Add support for multi register mux
On Tue, Mar 18, 2014 at 04:51:32PM -0700, Arun Shamanna Lakshmi wrote:
> Currently soc_enum structure supports only 2 registers (reg, reg2)
> for kcontrol. However, it is possible to have multiple registers
> per mux. This change allows us to control these multiple registers.
I'd want to see a user along with this and...
> @@ -1093,6 +1093,9 @@ struct soc_enum {
> unsigned int mask;
> const char * const *texts;
> const unsigned int *values;
> + unsigned int *regs;
> + unsigned int *masks;
> + unsigned int num_regs;
...it duplicates and generally isn't joined up with the existing members
of the structure, and has no support in the helpers (for example,
converting the existing stereo controls to be two element arrays which
I'd expect to see). Helpers would count as users here.
Note that we don't support double register enums or muxes - only
numerical controls are supported. It's not clear what a multi-register
enum would mean.
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists