Browse Source

ASoC: sunxi: allow the analog codec driver to be built on ARM64

As the 64-bit Allwinner H5 SoC has the same analog codec part (also the
same digital part) as H3, enable the driver to be built on ARM64
Allwinner platform, so that it can be used on H5.

Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Icenowy Zheng 8 years ago
parent
commit
e5028a2597
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sound/soc/sunxi/Kconfig

+ 1 - 1
sound/soc/sunxi/Kconfig

@@ -22,7 +22,7 @@ config SND_SUN8I_CODEC
 
 
 config SND_SUN8I_CODEC_ANALOG
 config SND_SUN8I_CODEC_ANALOG
 	tristate "Allwinner sun8i Codec Analog Controls Support"
 	tristate "Allwinner sun8i Codec Analog Controls Support"
-	depends on MACH_SUN8I || COMPILE_TEST
+	depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST
 	select REGMAP
 	select REGMAP
 	help
 	help
 	  Say Y or M if you want to add support for the analog controls for
 	  Say Y or M if you want to add support for the analog controls for