On Fri, Sep 07, 2018 at 08:18:05PM +1000, Matt Flax wrote: > On 07/09/18 18:26, Charles Keepax wrote: > >On Fri, Sep 07, 2018 at 01:27:29PM +1000, Matt Flax wrote: > >Which would really make DAPM a better fit, unless there are valid > >use-cases for using the mic with the preamp powered down? > > Agreed, when you switch to the MIC rather then LINEIN it should be > turned on. > > This is the DAPM_MUX : > https://github.com/torvalds/linux/blob/master/sound/soc/codecs/cs4265.c#L178 > This is the ENUM_SINGLE : > https://github.com/torvalds/linux/blob/master/sound/soc/codecs/cs4265.c#L98 > > What is the best way to do this ? Apologies not sure I entirely follow, don't you just want to update the routes such that the existing "Pre-amp MIC" widget is between the MICL,R and the ADC Mux. Something like: { "Pre-amp MIC", NULL, "MICL" }, { "Pre-amp MIC", NULL, "MICR" }, { "ADC Mux", "MIC", "Pre-amp MIC" }, Thanks, Charles _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel