From: Mark Brown <broonie@kernel.org>
To: Peter Rosin <peda@axentia.se>
Cc: linux-kernel@vger.kernel.org, Liam Girdwood <lgirdwood@gmail.com>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
alsa-devel@alsa-project.org
Subject: Re: [PATCH] ASoC: MAX9860: new driver
Date: Thu, 12 May 2016 12:04:06 +0100 [thread overview]
Message-ID: <20160512110406.GC6261@sirena.org.uk> (raw)
In-Reply-To: <5e9b7d83-95ac-256a-a1e6-ca69da141c3a@axentia.se>
[-- Attachment #1: Type: text/plain, Size: 2126 bytes --]
On Thu, May 12, 2016 at 09:54:18AM +0200, Peter Rosin wrote:
> On 2016-05-11 22:50, Mark Brown wrote:
> >> http://www.spinics.net/lists/alsa-devel/msg49675.html
> > If you don't CC maintainers the chances are your mails just won't get
> > seen...
> To me, it feels rude to single out people when asking general questions.
It's not a general question, it's a question about the ASoC APIs.
> I my world, these kind of questions are exactly what mailing lists are
> for. But ok, lesson learned, noone actually reads alsa-devel...
People do read the lists but it's very easy for things to get missed and
they won't always check them so often as their inbox, if you're looking
for a quick reply you're likely to be disappointed.
> > You should change DAPM so that it understands what your control is
> > doing, possibly by using custom accessors though it seems like something
> > in the vein of the invert flag ought to do the trick. You don't want to
> > actually use the invert flag since increasing values do mean increasing
> > volume but something along those lines. Possibly doing it by parsing
> > the TLV for a mute value at probe time might make sense?
> It seems nicest to do the runtime scan of the TLV for the mute value when
> the control is attached (or thereabouts), i.e. your last suggestion, and
> then in snd_soc_dapm_put_volsw() change the line
That's definitely the nicest if it isn't too horrible to implemenent,
yes.
> However, I don't see where to add the runtime scan of the TLV, and I don't
> see what "something" in the above should be, i.e. where I should store the
> result of the TLV scan?
In the mixer control data where the invert and so on are at the minute.
> Also, fixing DAPM to understand this problematic field will probably not
> make any difference for the confusion seen in alsamixer. This, coupled with
> the fact that the sidetone is not a function that I need makes me less than
> eager to take this on...
If alsamixer is failing to parse the TLV properly that needs fixing
anyway. You could just leave that bit for someone else who cares if
it's mostly cosmetic though.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2016-05-12 11:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-10 15:06 [PATCH] ASoC: MAX9860: new driver Peter Rosin
2016-05-11 15:09 ` Mark Brown
2016-05-11 20:12 ` Peter Rosin
2016-05-11 20:50 ` Mark Brown
2016-05-12 7:54 ` Peter Rosin
2016-05-12 11:04 ` Mark Brown [this message]
2016-05-11 15:29 ` Mark Brown
2016-05-11 20:28 ` Peter Rosin
2016-05-11 20:53 ` Mark Brown
2016-05-12 8:24 ` Peter Rosin
2016-05-12 10:53 ` Mark Brown
2016-05-14 14:25 ` Rob Herring
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=20160512110406.GC6261@sirena.org.uk \
--to=broonie@kernel.org \
--cc=alsa-devel@alsa-project.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=peda@axentia.se \
--cc=perex@perex.cz \
--cc=tiwai@suse.com \
/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