ASoC: sun8i-codec: Swap module clock/reset dependencies
authorSamuel Holland <samuel@sholland.org>
Thu, 1 Oct 2020 02:11:25 +0000 (21:11 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 5 Oct 2020 13:16:15 +0000 (14:16 +0100)
commited3caa3bd44c9ae1cebeb32d787adc5ed35e29fa
treebffe5bb91d133d1416828f5b411453a6e282135c
parentd8f006825ac57e34f7ed5e63a1e16d889dc1508e
ASoC: sun8i-codec: Swap module clock/reset dependencies

This matches the module power-up/down sequence from the vendor's driver.

While updating these widgets/routes, reorder them to match the register
and bit layout of the hardware. This puts them in the same place in the
widget and route arrays (previously they were at opposite ends), and it
makes it easier to track which parts of which registers are implemented.

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