From patchwork Wed Dec 12 20:40:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 10727087 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 14228112E for ; Wed, 12 Dec 2018 20:41:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F14922BA8D for ; Wed, 12 Dec 2018 20:41:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E4CC62BA90; Wed, 12 Dec 2018 20:41:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DB6512BA8D for ; Wed, 12 Dec 2018 20:41:02 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 4B193267C1D; Wed, 12 Dec 2018 21:41:01 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 725D4267C38; Wed, 12 Dec 2018 21:40:59 +0100 (CET) Received: from mail-qt1-f196.google.com (mail-qt1-f196.google.com [209.85.160.196]) by alsa0.perex.cz (Postfix) with ESMTP id 48350267C06 for ; Wed, 12 Dec 2018 21:40:57 +0100 (CET) Received: by mail-qt1-f196.google.com with SMTP id v11so22104225qtc.2 for ; Wed, 12 Dec 2018 12:40:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=gHDK0pOuPNpz1MsJwKGSIf3QlgEj3jlnRWeqX3eFFio=; b=S759LpsnOW+NWZ9Cvol2SssHQ8ECz3s5h+RFhYZyB7RTB9taZ4cr8O+1s5eY6lZ2rO fj4W/I0UrfD6vsn7kSqEFKDP45oANCO4uhmBaPrTzXmvMfxqxDiAZn03UkQdownT9FKE tCO7t4mUKk/Dp075yBF3XefbV0MOWHzIgn89kuAGCEPAOUR0gTd/A+aB2mFw4S0gqnzf Ch/GvZta73iEWtu73E+WoSAdo5HSoyztbQxqn8Fanqp8L7OmReHYJBF+KxQ5z1oWGa2z KcagicfxALmXV0XG/LFRNvRt4e2lpZlRD79qPkC2rjGeEvSMqrVbpgbc31ole9yRLfla 9siQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=gHDK0pOuPNpz1MsJwKGSIf3QlgEj3jlnRWeqX3eFFio=; b=qUIE2VqQoY/amFirL7v43vXqgPvjcSkh5XjGuGwg8nOlQO9vglsZvNdeHAcqLY2Nax QXUKEDdqEDjXk5Ye6SNr0IORN3NNJVwkf0mIeUKQhWipPcpdAcUjeial0+6IU7TB2M/6 1RT3HvwcmuQ6T8yOI9Z0V5fvaS/XaF6USn+lk72XczrfoEVyevUObIKNu5QSIkqyvW7/ vvsByLdddEUTfoCG6xSDpzB5Fer0MfA9Ptiq4O/yl7U2+X2PJiH6+ywQAP/qewbT3Plr cLjFKZugJfBjhNlMH/i+GU6DUe5I/oMF6c0N+8JfJskf1o9dgSfcUdav2L/NW6EU3NkW vIYw== X-Gm-Message-State: AA+aEWbAMvsyS/q4FGFk1QPAzmqGT1ERbvxoPIkwhtMlJcorAgoaxs2l FxOsz4zdjPUutMC7NHOJlXE= X-Google-Smtp-Source: AFSGD/WQxtonKDaa/nalgJlwLg53iI9Es/frLFxentIXK1YjirPKmdFaYzOJ2Epogv4/QzTvyQH0nw== X-Received: by 2002:aed:2314:: with SMTP id h20mr21198402qtc.286.1544647256000; Wed, 12 Dec 2018 12:40:56 -0800 (PST) Received: from localhost.localdomain ([201.82.144.36]) by smtp.gmail.com with ESMTPSA id o2sm14365765qko.97.2018.12.12.12.40.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 12 Dec 2018 12:40:55 -0800 (PST) From: Fabio Estevam To: broonie@kernel.org Date: Wed, 12 Dec 2018 18:40:53 -0200 Message-Id: <1544647253-3806-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 2.7.4 Cc: alsa-devel@alsa-project.org, shawnguo@kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, Fabio Estevam , linux-arm-kernel@lists.infradead.org Subject: [alsa-devel] [PATCH] ASoC: fsl: Fix SND_SOC_EUKREA_TLV320 build error on i.MX8M X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP eukrea-tlv320.c machine driver runs on non-DT platforms and include header file in order to be able to use some machine_is_eukrea_xxx() macros. Since commit 0e1532bfecf4 ("arm64: add basic Kconfig symbols for i.MX8") the ARCH_MXC symbol is visible on ARM64 too. Building it for ARM64 causes the following build error: sound/soc/fsl/eukrea-tlv320.c:28:10: fatal error: asm/mach-types.h: No such file or directory Avoid this error by not allowing to build the SND_SOC_EUKREA_TLV320 driver when ARM64 is selected. Reported-by: kbuild test robot Signed-off-by: Fabio Estevam --- Hi Mark, Commit commit 0e1532bfecf4 ("arm64: add basic Kconfig symbols for i.MX8") is present in Shawn's tree, so maybe this should be taken by Shawn? sound/soc/fsl/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig index 6ec19fb..2e75b5b 100644 --- a/sound/soc/fsl/Kconfig +++ b/sound/soc/fsl/Kconfig @@ -221,7 +221,7 @@ config SND_SOC_PHYCORE_AC97 config SND_SOC_EUKREA_TLV320 tristate "Eukrea TLV320" - depends on ARCH_MXC && I2C + depends on ARCH_MXC && !ARM64 && I2C select SND_SOC_TLV320AIC23_I2C select SND_SOC_IMX_AUDMUX select SND_SOC_IMX_SSI