[alsa-devel] [PATCH 4/4] ASoC: tlv320aic3x: Sanitize output controls

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Aug 27 16:24:14 CEST 2010

On 27 Aug 2010, at 14:56, Jarkko Nikula <jhnikula at gmail.com> wrote:

> Currently output controls are not uniform. Some routes are adjusted by
> mono controls that don't match to associated mixer switch, many routes are
> not covered at all and stereo controls have following variants:
> - L-to-L & R-to-R
> - R-to-L & R-to-R
> - L-to-L & R-to-L
> This patch attempts to fix these issues. First, for the convenience, only
> direct L-to-L, R-to-R and [L | R]-to-Mono routes are controlled by the
> stereo controls. This logic is also used with the output pin mute controls
> so all of them except mono output are controlled by stereo switches.
> Then rest of the swapped L-to-R and R-to-L routes are controlled by the
> mono controls that map to mixer switches with a same name. Mixers can then
> associate these switches and volumes together.
> Signed-off-by: Jarkko Nikula <jhnikula at gmail.com>

Acked-by: Mark Brown <broonie at opensource.wolfsonmicro.com>

More information about the Alsa-devel mailing list