From: Jonathan Cameron <jic23@cam.ac.uk>
To: Mark Brown <broonie@sirena.org.uk>
Cc: alsa-devel@alsa-project.org
Subject: Re: [RFC] SoC WM8940 Driver
Date: Mon, 27 Apr 2009 11:40:43 +0000 [thread overview]
Message-ID: <49F599BB.9050805@cam.ac.uk> (raw)
In-Reply-To: <20090425180346.GA4072@sirena.org.uk>
>
>>>> + SOC_SINGLE("Digital Loopback Switch adc to dac", WM8940_COMPANDINGCTL,
>>>> + 0, 1, 0),
>
>>> This should be called Digital Sidetone Switch and probably ought to be a
>>> DAPM control - there's an ADC to DAC route.
>
>> I'll take your word for it!
>
> If you switch the ADC to the DAC then you've got an audio path between
> them.
Hi Mark,
I'm having some trouble getting my head around how to actually specify the audio
route for this Sidetone route.
As far as I can tell you can't specify the following,
{"DAC", "Digtal Sidetone Switch", "ADC"}
As in snd_soc_dapm_add_route only mux, switch and mixer controls can take
a control element.
I can find plenty of examples for cases where this path routes through a mixer
or mux, but in this simple case (it's either connected or not and no
volume controls are on that path) what do I do?
Nearest I can currently come up with is to insert a mux with only one option...
Thanks,
Jonathan
next prev parent reply other threads:[~2009-04-27 11:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-24 19:29 [RFC] SoC WM8940 Driver Jonathan Cameron
2009-04-25 10:21 ` Mark Brown
2009-04-25 17:17 ` Jonathan Cameron
2009-04-25 18:03 ` Mark Brown
2009-04-25 19:47 ` Jonathan Cameron
2009-04-27 11:40 ` Jonathan Cameron [this message]
2009-04-27 12:25 ` Mark Brown
2009-04-27 12:35 ` Jonathan Cameron
2009-04-27 13:49 ` [PATCH] " Jonathan Cameron
2009-04-27 19:58 ` 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=49F599BB.9050805@cam.ac.uk \
--to=jic23@cam.ac.uk \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@sirena.org.uk \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.