linux/sound/soc/sunxi
Chen-Yu Tsai 2f2a3462bc ASoC: sun4i-codec: Move data structures to add create_card call to quirks
The audio codec on later Allwinner SoCs have a different layout and
audio path compared to the A10/A20. However the PCM parts are still
the same.

The different layout and audio paths mean we need a different
create_card function for different families, so they can create
DAPM endpoint widgets and routes.

This patch moves the regmap configs, quirks and of_device_id
structures to just before the probe function, so we can, among other
things, include a pointer for the create_card function. None of the
lines of code were changed.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2016-11-03 11:25:16 -06:00
..
Kconfig ASoC: sunxi: depend on ARCH_SUNXI 2016-08-24 10:41:15 +01:00
Makefile ASoC: sunxi: Add Allwinner A10 Digital Audio driver 2016-06-29 22:42:53 +01:00
sun4i-codec.c ASoC: sun4i-codec: Move data structures to add create_card call to quirks 2016-11-03 11:25:16 -06:00
sun4i-i2s.c ASoC: sun4i-i2s: Implement capture support 2016-11-03 10:54:19 -06:00
sun4i-spdif.c ASoC: sunxi: compatibility for sun6i to SPDIF 2016-08-12 12:00:34 +01:00