Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Joonyoung Shim <jy0922.shim@samsung.com>
To: "Lopez Cruz, Misael" <x0052729@ti.com>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
	Peter Ujfalusi <peter.ujfalusi@nokia.com>
Subject: Re: How to set TWL4030 to Option2
Date: Fri, 15 May 2009 18:36:14 +0900	[thread overview]
Message-ID: <4A0D378E.5090004@samsung.com> (raw)
In-Reply-To: <2C7D3DF36ADFFC479B44490D912B616705F69E7BA4@dlee07.ent.ti.com>

On 5/15/2009 5:21 PM, Lopez Cruz, Misael wrote:
> I'm adding the voice dai to sdp3430 machine driver, but the codec's
> "twl4030_voice_startup" function has a requirement for voice to work: the
> codec has to be in option2. How can I switch the codec to option2 mode?
> There is no control for doing that, and the only way I see is to
> directly modify the reg cache, but I assume that is not the right way
> to do it.

Hi,

In current code, as you say, you have to directly change the value of
the reg cache for setting to option2, also you have to modify the
REG_OPTION and REG_VOICE_IF reg for voice, but this is temporary method.

As Peter already say, we need additional controls.

Regards.

> 
> Could you please clarify?
> 
> -Misa
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 

  parent reply	other threads:[~2009-05-15  9:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-15  8:21 How to set TWL4030 to Option2 Lopez Cruz, Misael
2009-05-15  8:37 ` Peter Ujfalusi
2009-05-15  9:36 ` Joonyoung Shim [this message]
2009-05-15  9:45   ` Mark Brown
2009-05-15 10:05     ` Lopez Cruz, Misael
2009-05-15 11:00       ` Joonyoung Shim
2009-05-15 11:09         ` Peter Ujfalusi
2009-05-15 16:58           ` Lopez Cruz, Misael
2009-05-15 10:13     ` Joonyoung Shim
2009-05-15 10:35       ` Mark Brown
2009-05-15 10:51         ` Joonyoung Shim

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=4A0D378E.5090004@samsung.com \
    --to=jy0922.shim@samsung.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=peter.ujfalusi@nokia.com \
    --cc=x0052729@ti.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