alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Liam Girdwood <lrg@slimlogic.co.uk>
To: zhaoming.zeng@freescale.com
Cc: alsa-devel@alsa-project.org, s.hauer@pengutronix.de,
	broonie@opensource.wolfsonmicro.com, timur.tabi@gmail.com,
	zengzm.kernel@gmail.com, xiao-lizhang@freescale.com,
	arnaud.patard@rtp-net.org, linuxzsc@gmail.com
Subject: Re: [PATCH v5] ASoC: Add Freescale SGTL5000 codec support
Date: Fri, 25 Feb 2011 09:13:42 +0000	[thread overview]
Message-ID: <1298625222.3363.7.camel@odin> (raw)
In-Reply-To: <1298484501-3993-1-git-send-email-zhaoming.zeng@freescale.com>

On Thu, 2011-02-24 at 02:08 +0800, zhaoming.zeng@freescale.com wrote:
> From: Zeng Zhaoming <zhaoming.zeng@freescale.com>
> 
> Add Freescale SGTL5000 codec support.
> Supported features:
>  - line-in and mic input
>  - headphone and line-out output
>  - line-in bypass ADC and DAC to headphone
>  - 16, 20, 24, 32 bit audio
>  - 8 ~ 96k sample rates
> 
> Signed-off-by: Zeng Zhaoming <zhaoming.zeng@freescale.com>
> ---
> Changes since v4:
> 1. Fix regulator resource leak in sgtl5000_enable_regulators().
> 2. Fix memory leak in ldo_regulator_register() when desc.name malloc failed.
> 3. Del snd_soc_dapm_free() in sgtl5000_remove().
> 4. Correct the typos.
> 5. Replace pr_err() with dev_err in sgtl5000_set_clock().
> 6. Fix code style.
> 
> Thanks for the review of Timur, Mark, Sascha and Arnaud.
> ---
>  sound/soc/codecs/Kconfig    |    5 +
>  sound/soc/codecs/Makefile   |    2 +
>  sound/soc/codecs/sgtl5000.c | 1512 +++++++++++++++++++++++++++++++++++++++++++
>  sound/soc/codecs/sgtl5000.h |  402 ++++++++++++
>  4 files changed, 1921 insertions(+), 0 deletions(-)
> 

Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>

Btw, your custom PCM volume controls look similar to the register format
used by AC97 volume controls. Did you try the kcontrol convenience
macros before writing your own control ? 

Thanks

Liam

  reply	other threads:[~2011-02-25  9:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-23 18:08 [PATCH v5] ASoC: Add Freescale SGTL5000 codec support zhaoming.zeng
2011-02-25  9:13 ` Liam Girdwood [this message]
2011-02-25 12:09 ` Mark Brown
     [not found]   ` <AANLkTikpBB5vVKj+Y2EfbjfC=6aigeCjaqZ9mz9+qWuF@mail.gmail.com>
2011-02-25 16:13     ` Timur Tabi
2011-02-25 23:01     ` Timur Tabi
2011-02-28 14:45     ` 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=1298625222.3363.7.camel@odin \
    --to=lrg@slimlogic.co.uk \
    --cc=alsa-devel@alsa-project.org \
    --cc=arnaud.patard@rtp-net.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=linuxzsc@gmail.com \
    --cc=s.hauer@pengutronix.de \
    --cc=timur.tabi@gmail.com \
    --cc=xiao-lizhang@freescale.com \
    --cc=zengzm.kernel@gmail.com \
    --cc=zhaoming.zeng@freescale.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;
as well as URLs for NNTP newsgroup(s).