OSDN Git Service

ASoC: sun4i-codec: Add support for A31 ADC capture path
authorChen-Yu Tsai <wens@csie.org>
Mon, 7 Nov 2016 10:06:59 +0000 (18:06 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 9 Nov 2016 14:43:35 +0000 (14:43 +0000)
commit24c99f843208df70ec7d1e04aa405f7e4c36f228
tree68db69746646327ed8430d0953a3fdffc3a356e1
parentb2b7b56f713ab833413548b119c53bbe2a9a9f8f
ASoC: sun4i-codec: Add support for A31 ADC capture path

The A31's internal codec capture path has a mixer in front of the ADC
for each channel, capable of selecting various inputs, including
microphones, line in, phone in, and the main output mixer.

This patch adds the various controls, widgets and routes needed for
audio capture from the already supported inputs on the A31.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun4i-codec.c