ASoC: sun8i-codec: Convert to SOC_MIXER_ARRAY
authorMylène Josserand <mylene.josserand@free-electrons.com>
Fri, 10 Feb 2017 09:41:32 +0000 (10:41 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 8 Mar 2017 13:17:53 +0000 (14:17 +0100)
commitfa22ca4f905d7001ed966bc95bcffb890a1b8d73
tree61cff97952167d213a33eade749baea27c3fcead
parentca14da6e611674cad275f29ac2aaf1e2eb427c6b
ASoC: sun8i-codec: Convert to SOC_MIXER_ARRAY

SOC_MIXER_ARRAY is a simplified function of SND_SOC_DAPM_MIXER
which handles automatically the ARRAY_SIZE of controls.

Update the driver to use SOC_MIXER_ARRAY.

Signed-off-by: Mylène Josserand <mylene.josserand@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun8i-codec.c