It is not working for me. I wrote this small piece of code: static int omap3evm_twl4030_init(struct snd_soc_codec *codec) { unsigned short reg; printk (KERN_DEBUG "inside omap3evm_twl4030_init\n\n"); /* Enable Analog Left Capture Route AUXL */ reg = codec->read(codec, TWL4030_REG_ANAMICL); reg |= TWL4030_AUXL_EN; codec->write(codec, TWL4030_REG_ANAMICL, reg); /* Enable Analog Right Capture Route AUXR */ reg = codec->read(codec, TWL4030_REG_ANAMICR); reg |= TWL4030_AUXR_EN; codec->write(codec, TWL4030_REG_ANAMICR, reg); return 0; } After that, if I do a get on Analog Left Capture Route AUXL (or the other), I am seeing that it has been turned ON. However, when I try to capture, It doesn't work. I have to disable it first and then re-enable it to capture properly. Any clues? Regards, Anuj Aggarwal > -----Original Message----- > From: alsa-devel-bounces@xxxxxxxxxxxxxxxx [mailto:alsa-devel-bounces@alsa- > project.org] On Behalf Of Mark Brown > Sent: Monday, June 08, 2009 5:45 PM > To: Aggarwal, Anuj > Cc: alsa-devel@xxxxxxxxxxxxxxxx > Subject: Re: Default enabling of mixer controls > > On Mon, Jun 08, 2009 at 05:40:56PM +0530, Aggarwal, Anuj wrote: > > > Right now, they both come disabled in the default configuration and I > > have to enable them explicitly by issuing the amixer cset command. How > > can I do that automatically? > > Register writes in the DAI init function will probably do the job, > however the general advice is to leave this up to user space. > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@xxxxxxxxxxxxxxxx > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel