From: "Daniel Glöckner" <dg@emlix.com>
To: Mark Brown <broonie@sirena.org.uk>
Cc: alsa-devel@alsa-project.org
Subject: Re: [patch 2/2] alsa: s6105 IP camera machine specific ASoC code
Date: Fri, 27 Mar 2009 17:33:21 +0100 [thread overview]
Message-ID: <49CCFFD1.7000705@emlix.com> (raw)
In-Reply-To: <20090326142640.GE3771@sirena.org.uk>
On 03/26/2009 03:26 PM, Mark Brown wrote:
> Are you sure you're applying the correct configuration to the correct
> DAI here - S6105_CODEC_CLOCK is a CPU define, not a CODEC define?
In this case S6105 was referring to the S6105 reference design. It's a machine
define at the top of the file.
>> +static int snd_soc_dapm_set_endpoint(struct snd_soc_codec *codec, char *name,
>> + int status)
>> +{
>> + if (status)
>> + return snd_soc_dapm_enable_pin(codec, name);
>> + else
>> + return snd_soc_dapm_disable_pin(codec, name);
>> +}
>
> This shouldn't be in a driver!
I know, but it was made static in soc-dapm.c when it was renamed to
snd_soc_dapm_set_pin.
> Hrm. Given the fact that you can't have the stereo and differential
> outputs enabled simultaneously is it not safer to first disable the
> active output, then sync, then enable the new output?
The pins are connected via 0.47uF..
I'll insert the sync. Then I won't have to bug you about exporting
snd_soc_dapm_set_pin as well (as it will no longer result in shorter code).
Daniel
--
Dipl.-Math. Daniel Glöckner, emlix GmbH, http://www.emlix.com
Fon +49 551 30664-0, Fax -11, Bahnhofsallee 1b, 37081 Göttingen, Germany
Geschäftsführung: Dr. Uwe Kracke, Dr. Cord Seele, Ust-IdNr.: DE 205 198 055
Sitz der Gesellschaft: Göttingen, Amtsgericht Göttingen HR B 3160
emlix - your embedded linux partner
next prev parent reply other threads:[~2009-03-27 16:33 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-26 13:36 [patch 1/2] alsa: ASoC driver for s6000 I2S interface Daniel Glöckner
2009-03-26 13:36 ` [patch 2/2] alsa: s6105 IP camera machine specific ASoC code Daniel Glöckner
2009-03-26 14:26 ` Mark Brown
2009-03-27 16:33 ` Daniel Glöckner [this message]
2009-03-27 16:39 ` Mark Brown
2009-03-26 14:15 ` [patch 1/2] alsa: ASoC driver for s6000 I2S interface Mark Brown
2009-03-27 16:09 ` Daniel Glöckner
2009-03-27 16:20 ` Mark Brown
2009-03-27 16:49 ` Daniel Glöckner
2009-03-27 16:56 ` 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=49CCFFD1.7000705@emlix.com \
--to=dg@emlix.com \
--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.