ASoC: sunxi: allow the sun8i-codec driver to be built on ARM64
authorVasily Khoruzhick <anarsoul@gmail.com>
Wed, 17 Oct 2018 07:38:10 +0000 (00:38 -0700)
committerMark Brown <broonie@kernel.org>
Wed, 17 Oct 2018 10:11:02 +0000 (11:11 +0100)
Allwinner A64 uses the same digital codec part as in A33, so we need
to build this driver on ARM64 as well.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/Kconfig

index 8a055ca1819a1976f8d79ef89c7e3e9dcd539c6d..66aad0d3f9c7f9d04a44795eeca7591b190fde77 100644 (file)
@@ -12,7 +12,7 @@ config SND_SUN4I_CODEC
 config SND_SUN8I_CODEC
        tristate "Allwinner SUN8I audio codec"
        depends on OF
-       depends on MACH_SUN8I || COMPILE_TEST
+       depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST
        select REGMAP_MMIO
        help
          This option enables the digital part of the internal audio codec for