]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sun50i-codec-analog: Group and sort mixer routes
authorSamuel Holland <samuel@sholland.org>
Sun, 26 Jul 2020 02:53:29 +0000 (21:53 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 17 Aug 2020 15:19:13 +0000 (16:19 +0100)
commit6cfd1d8b5a411929212d13c6a9a3c53219514f82
treea00cda74297399e291c0a2458734aa64e59b034b
parent6979f76abcbfe4edea5beb1b266e186ec5ec5010
ASoC: sun50i-codec-analog: Group and sort mixer routes

Sort the controls in the same order as the bits in the register. Then
group the routes by sink, and sort them in the same order as the
controls. This makes it much easier to verify that all mixer inputs are
accounted for.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Link: https://lore.kernel.org/r/20200726025334.59931-4-samuel@sholland.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun50i-codec-analog.c