Re: [alsa-devel] [PATCH] ASoC: eukrea-tlv320: Do not enable on ARM64

From: Fabio Estevam
Date: Tue Dec 18 2018 - 18:02:29 EST


Hi Andrey,

On Tue, Dec 18, 2018 at 8:58 PM Andrey Smirnov <andrew.smirnov@xxxxxxxxx> wrote:
>
> ARCH_MXC is also used by i.MX8/AArch64 SoC, building the driver for
> that platform results in:
>
> sound/soc/fsl/eukrea-tlv320.c:28:10: fatal error: asm/mach-types.h: No such file or directory
> #include <asm/mach-types.h>
> ^~~~~~~~~~~~~~~~~~
> compilation terminated.
>
> Since the code in question doesn't seem to have any use on i.MX8,
> disable it by adding a !ARM64 as a dependecy.
>
> Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx>
> ---
>
> Sorry for the noise if this is fixed already.

Yes, I sent a fix for this and it is linux-next already:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/sound/soc/fsl/Kconfig?h=next-20181218&id=add6883619a9e3bf9658eaff1a547354131bbcd9