alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* ASoC: Configuring codec PCM port question
@ 2011-01-28 13:00 Babu, Ramesh
  2011-01-28 13:19 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Babu, Ramesh @ 2011-01-28 13:00 UTC (permalink / raw)
  To: alsa-devel@alsa-project.org; +Cc: Mark Brown, Liam Girdwood

Hi

My codec has 2 ports, PCM1 and PCM2 ports.
PCM2 port is used for playback and capture operations and
PCM1 is connected to Modem.
The ASoC driver has to configure, enable and disable PCM1 port during voice
call activity.

I am thinking of following two options to configure PCM1 port:

1. AlSA Mixer control:  Create mixer control and provide options like VOICE_HS,
	VOICE_IHF, VOICE_EP and VOICE_DISABLE. Application will use one of the option to
	Configure the PCM1 port.

2. IOCTL : Application invokes IOCTL in hardware specific driver code and then it enables
	PCM1 port (cross-path DAPM ?) 

Which is the best way to implement it?
Are there any other existing way to implement it?

Thanks
Ramesh

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-28 13:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-28 13:00 ASoC: Configuring codec PCM port question Babu, Ramesh
2011-01-28 13:19 ` Mark Brown

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).