Hi folks,
I've been trying very hard to remove some unwanted channels from 'Alsamixer'. For example, in the below screenshot, I would like to remove all "Earpiece" channels.

I have identified what I think is the piece of code responsible for creating those mixer channels; (a "..." indicates an area where code has been cut out)
static const struct snd_soc_dapm_widget twl4030_dapm_widgets[] = { ... SND_SOC_DAPM_MIXER("Earpiece Mixer", SND_SOC_NOPM, 0, 0, &twl4030_dapm_earpiece_controls[0], ARRAY_SIZE(twl4030_dapm_earpiece_controls)), ... };
Apart from exploring the array and removing that particular element, is there an easier way?
- Andrew