Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Howard Mitchell <hm@hmbedded.co.uk>
Cc: Takashi Iwai <tiwai@suse.de>,
	alsa-devel@alsa-project.org,
	Gordon Garrity <gordon.garrity@gmail.com>
Subject: Re: pcm512x driver: Mixer control naming issue
Date: Fri, 13 Mar 2015 18:27:29 +0000	[thread overview]
Message-ID: <20150313182729.GE28806@sirena.org.uk> (raw)
In-Reply-To: <5502DAE1.30609@hmbedded.co.uk>


[-- Attachment #1.1: Type: text/plain, Size: 893 bytes --]

On Fri, Mar 13, 2015 at 12:41:05PM +0000, Howard Mitchell wrote:

> Boost Volume) provides a boost of +0.8dB. The hardware reset value of both
> of these gain controls is 0dB, however, in the Raspbian distribution
> 'Playback Volume' is being defaulted to -6dB.

>  * Either change the names of these controls to something that's not
>    affected by the alsa restore mechanism,

You say "these controls" but it seems like only "Playback Volume" has
a problem?  My first suggestion would be to define "Analog" or
"Analogue" as a prefix in ControlNames and then use that, that would
avoid confusing applications while still fittig in with the naming
convention.

>  * or remove them as mixer controls, but make them accessible some
>    other way - e.g. device tree.

It may not be policy that someone wants to tweak at runtime on your
board but it almost certainly will be on someone's board.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  reply	other threads:[~2015-03-13 18:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5500DE5B.2020401@hmbedded.co.uk>
2015-03-13 12:41 ` pcm512x driver: Mixer control naming issue Howard Mitchell
2015-03-13 18:27   ` Mark Brown [this message]
2015-03-15 22:28     ` Howard Mitchell
2015-03-16  7:47       ` Takashi Iwai
2015-03-16  9:47         ` Howard Mitchell
2015-03-16 10:11           ` Takashi Iwai
2015-03-16 11:38       ` Mark Brown
2015-03-16 11:59         ` Takashi Iwai
2015-03-16 17:37         ` Howard Mitchell
2015-03-17 17:23           ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150313182729.GE28806@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=gordon.garrity@gmail.com \
    --cc=hm@hmbedded.co.uk \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox