From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: Re: ASoC: SND_SOC_DAPM_LINE behavior
Date: Tue, 29 Sep 2009 13:44:40 +0100 [thread overview]
Message-ID: <20090929124439.GA8632@rakim.wolfsonmicro.main> (raw)
In-Reply-To: <200909291536.39792.peter.ujfalusi@nokia.com>
On Tue, Sep 29, 2009 at 03:36:39PM +0300, Peter Ujfalusi wrote:
> The DAPM routing is something like this in the codec driver:
> |DAC|------------->| |
> |Playback Mixer|->|OUTPUT|
> |INPUT|->|Bypass|->| |
> |SWITCH|
> Now if in the machine driver I create the following DAPM widget:
> SND_SOC_DAPM_LINE("Line In", NULL),
> and than connect this DAPM_LINE to the codec's INPUT (LINE-IN):
> {"LINE-IN", NULL, "Line In"},
> Than the codec bias level would be always in ON state, regardless of the state
> of the Bypass Switch (it is off by default).
That shouldn't happen, turning off the bypass switch should break the
path and let the bias sit at standby. I'd need to check the code but I
expect that the fact that LINE can be either an input or an output is
confusing things and we need to split it into two widgets, one for input
and one for output.
The easiest thing for an actual system would just be to not bother with
the external widget if you're not doing anything with it. It'll only
make things work better, there's no need for the external widgets unless
you're switching them.
next prev parent reply other threads:[~2009-09-29 12:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-29 12:36 ASoC: SND_SOC_DAPM_LINE behavior Peter Ujfalusi
2009-09-29 12:44 ` Mark Brown [this message]
2009-09-29 12:59 ` Peter Ujfalusi
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=20090929124439.GA8632@rakim.wolfsonmicro.main \
--to=broonie@opensource.wolfsonmicro.com \
--cc=alsa-devel@alsa-project.org \
--cc=peter.ujfalusi@nokia.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 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.