[alsa-devel] [PATCH 04/14] ASoC: Allow codecs to override register display

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Aug 1 20:10:39 CEST 2008

On Fri, Aug 01, 2008 at 01:37:09PM -0400, Jon Smirl wrote:
> On 8/1/08, Mark Brown <broonie at opensource.wolfsonmicro.com> wrote:

> >    For example, if we were to display a register value anywhere else a
> >    different interface would be required to allow codecs to override the
> >    display there.

> But you are stuck with the override. You don't know how to display or
> even read the 256 bit registers present on the TI chips.

Yes, absolutely - this is my point.  I have no problem at all with
having the ability to override the register display, it seems useful.

> There are more fundamental issues, struct snd_kcontrol doesn't have a
> field for storing the register address, it is being carried around in
> the private_value data.

Yes, I don't see the implementation being enormously elegant.  We should
have enough information to figure it out, though.

More information about the Alsa-devel mailing list