ASoC: sun8i-codec: Sort DAPM controls, widgets, and routes
authorSamuel Holland <samuel@sholland.org>
Thu, 1 Oct 2020 02:11:26 +0000 (21:11 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 5 Oct 2020 13:16:16 +0000 (14:16 +0100)
commitd58b7247087900414aa3e988e70ecba85e06f412
tree4f6b8efd7310e39dbecaaa31f77802ce099ddbd4
parented3caa3bd44c9ae1cebeb32d787adc5ed35e29fa
ASoC: sun8i-codec: Sort DAPM controls, widgets, and routes

Sort the remaining pieces of the DAPM driver so that they are all in the
same order among controls/widgets/routes, and so they roughly match the
register word and bit order of the hardware. This nicely separates the
AIF-related widgets from the ADC/DAC widgets, which allows the AIF
widgets to stay in a logical order as more AIFs are added to the driver.

No widgets are renamed, to ease verification that this commit makes no
functional change.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Acked-by: Maxime Ripard <mripard@kernel.org>
Link: https://lore.kernel.org/r/20201001021148.15852-4-samuel@sholland.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun8i-codec.c