ASoC: sun4i-codec: Merge sun4i_codec_left_mixer_controls and sun4i_codec_right_mixer_...
authorDanny Milosavljevic <dannym@scratchpost.org>
Wed, 30 Jan 2019 10:39:41 +0000 (11:39 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 7 Feb 2019 12:15:08 +0000 (12:15 +0000)
commit0bbb8e83cfe02d670380798ae1876668f8bbd00c
tree46540fab50427521361952795931c8c3ebc903d0
parentb329c78eb0c80bf17e877edde6d42c0793f19024
ASoC: sun4i-codec: Merge sun4i_codec_left_mixer_controls and sun4i_codec_right_mixer_controls into sun4i_codec_mixer_controls

Since it's now possible to have a DAPM mixer control with multiple
channels, use it to cut down the total number of controls.

Keep "Left Mixer Left DAC Playback Switch" and "Right Mixer Right DAC
Playback Switch" name & layout the same as before for compatibility.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun4i-codec.c