Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: "Olaya, Margarita" <magi.olaya@ti.com>
Cc: Felipe Balbi <me@felipebalbi.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
	"lrg@slimlogic.co.uk" <lrg@slimlogic.co.uk>
Subject: Re: [PATCHv5 2/2] ASoC: TWL6040: Add twl6040 codec driver
Date: Tue, 16 Mar 2010 18:19:26 +0000	[thread overview]
Message-ID: <778BD450-4E6A-481F-A87B-9C7E4CCFDB83@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <1889FA7136B567478A67D4B0F85B0CCE66217087@dlee06.ent.ti.com> (sfid-20100316_175124_684510_30CE5530)

On 16 Mar 2010, at 17:51, "Olaya, Margarita" <magi.olaya@ti.com> wrote:

> On Saturday, March 13, 2010 5:23 AM  Felipe Balbi wrote:
>
>> Hi,
>>
>> On Fri, 12 Mar 2010 19:52:20 -0600, "Olaya, Margarita"
>> <magi.olaya@ti.com> wrote:
>>> +/*
>>> + * twl6040 register cache & default register settings + */
>>> +static const u8 twl6040_reg[TWL6040_CACHEREGNUM] = {
>>> +       0x00, /* not used               0x00    */
>>> +       0x4B, /* TWL6040_ASICID (ro)    0x01    */
> [snip]
>>
>> a little comment about what the default values are would be nice.
>
> Most of the codecs only have the register description, not sure if  
> this
> is an standard in alsa. Some values are kind of hard to describe  
> briefly.

The standard is that these are the power on reset values, used to init  
the register cache and reduce the amount of I/O done to restore on  
resume.

>
>>
>> #ifdef CONFIG_PM
>>
>>> +static int twl6040_suspend(struct platform_device *pdev,
> [snip]
>>
>> #else
>> #define twl6040_suspend    NULL
>> #define twl6040_resume     NULL
>> #endif
>
> I'll add this.
>
> Regards,
> Margarita
>

      reply	other threads:[~2010-03-16 18:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-13  1:52 [PATCHv5 2/2] ASoC: TWL6040: Add twl6040 codec driver Olaya, Margarita
2010-03-13 11:23 ` Felipe Balbi
2010-03-16 17:51   ` Olaya, Margarita
2010-03-16 18: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=778BD450-4E6A-481F-A87B-9C7E4CCFDB83@opensource.wolfsonmicro.com \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=lrg@slimlogic.co.uk \
    --cc=magi.olaya@ti.com \
    --cc=me@felipebalbi.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