
7 Feb
2011
7 Feb
'11
7:01 p.m.
On 02/07/2011 12:42 PM, Mark Brown wrote:
On Mon, Feb 07, 2011 at 12:04:17AM +0100, Lars-Peter Clausen wrote:
- snd_soc_dapm_disable_pin(codec, "Audio Out");
- snd_soc_dapm_disable_pin(codec, "GSM Line Out");
- snd_soc_dapm_disable_pin(codec, "GSM Line In");
- snd_soc_dapm_disable_pin(codec, "Headset Mic");
- snd_soc_dapm_disable_pin(codec, "Call Mic");
This will mean that it's impossible to enable most (if not all) of the audio paths in the system which probably isn't what you want.
I've seem to have overlooked to add DAPM_SWITCH_PIN controls for these pins, since it has been done implicitly in the patch merging the gta01 and gta02 driver.
I'll resend a updated version.
- Lars