From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Ben Dooks <ben@simtec.co.uk>
Cc: alsa-devel@alsa-project.org
Subject: Re: Audio support for Simtec Hermes
Date: Fri, 7 Aug 2009 11:19:33 +0100 [thread overview]
Message-ID: <20090807101932.GC639@sirena.org.uk> (raw)
In-Reply-To: <20090806230200.627626438@fluff.org.uk>
On Fri, Aug 07, 2009 at 12:02:00AM +0100, Ben Dooks wrote:
> +
> + /* Speaker is connected to LINEOUT{LN,LP,RN,RP} */
> +};
Missing routes? The comment should at least be a bit clearer about why
they're not there.
> + snd_soc_dapm_enable_pin(codec, "Headphone Jack");
> + snd_soc_dapm_enable_pin(codec, "Line In");
> + snd_soc_dapm_enable_pin(codec, "Line Out");
> + snd_soc_dapm_enable_pin(codec, "Mic Jack");
This is not required since pins are enabled by default but it's OK to
leave this here for documentation.
> +static struct aic3x_setup_data codec_setup = {
> + .i2c_bus = 0,
> + .i2c_already = 1,
> +};
> +
This patch should have been submitted after your previous patch to the
CODEC driver since it depends on it.
> +static int __devinit simtec_audio_hermes_probe(struct platform_device *pd)
> +{
> + dev_info(&pd->dev, "probing....\n");
> + return simtec_audio_core_probe(pd, &simtec_snd_devdata_aic33);
> +}
Please remove the printk() here.
prev parent reply other threads:[~2009-08-07 10:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-06 23:02 Audio support for Simtec Hermes Ben Dooks
2009-08-07 10:19 ` Mark Brown [this message]
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=20090807101932.GC639@sirena.org.uk \
--to=broonie@opensource.wolfsonmicro.com \
--cc=alsa-devel@alsa-project.org \
--cc=ben@simtec.co.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox