On Mon, Dec 08, 2008 at 10:09:02AM +0200, Peter Ujfalusi wrote: > + /* Analog PGAs > + * bit 0: APGA enable > + * bit 1: Digital to analog path enable > + */ > + SND_SOC_DAPM_REG(snd_soc_dapm_pga, "ARXR1_APGA", > + TWL4030_REG_ARXR1_APGA_CTL, 0, 0x3, 0x3, 0x0), > + SND_SOC_DAPM_REG(snd_soc_dapm_pga, "ARXL1_APGA", > + TWL4030_REG_ARXL1_APGA_CTL, 0, 0x3, 0x3, 0x0), > + SND_SOC_DAPM_REG(snd_soc_dapm_pga, "ARXR2_APGA", > + TWL4030_REG_ARXR2_APGA_CTL, 0, 0x3, 0x3, 0x0), > + SND_SOC_DAPM_REG(snd_soc_dapm_pga, "ARXL2_APGA", > + TWL4030_REG_ARXL2_APGA_CTL, 0, 0x3, 0x3, 0x0), > + The PGA should be standard SND_SOC_DAPM_PGA()s with the digital to analogue switches used to implement mute controls for them. _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel