From patchwork Thu Dec 13 02:08:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 10727645 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 21BED14E2 for ; Thu, 13 Dec 2018 02:47:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1067129C5C for ; Thu, 13 Dec 2018 02:47:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0148F29E6A; Thu, 13 Dec 2018 02:47:51 +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 47E1629C5C for ; Thu, 13 Dec 2018 02:47:51 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 9642D267C64; Thu, 13 Dec 2018 03:08:49 +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 5F5E1267C65; Thu, 13 Dec 2018 03:08:46 +0100 (CET) Received: from mail-qk1-f195.google.com (mail-qk1-f195.google.com [209.85.222.195]) by alsa0.perex.cz (Postfix) with ESMTP id C7313267C5F for ; Thu, 13 Dec 2018 03:08:43 +0100 (CET) Received: by mail-qk1-f195.google.com with SMTP id a132so291602qkg.1 for ; Wed, 12 Dec 2018 18:08:43 -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=CXPD067Zs9z4F7jGE6L6tM69hMfxNEuOQx7KBhvBgx8=; b=V9alOAMM1gfsZMxX+Fa9dMeUSE92w6OyKZsHsbISosE9IX8XnjK5Rqc+6j7w2khb5T vSw9JHNyEVBPBprpgwulfmKcxGcExS9D6OCBzNGxstFnfbE+j0EgelKKbOg+CnoSq+MT X3rRyMdE39ItJ4GrxVWC6LEAGOPP5aMIhQnsskFaB5qVEsbcLQDXBLfkeKqhkZ5w8t+k pXpfYcSQniBtcBSTaBuiPfUdkzSZvVtDoLTOBPyFa7T6l1gAhKSeAET/utKMEdVfBkdC EcBjtGE0r4n4AFqgtv553jiPGTo3ALAw+tLkkWecAuOhSzEIDHY3Btzxl0HhqbVP0alg QKsg== 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=CXPD067Zs9z4F7jGE6L6tM69hMfxNEuOQx7KBhvBgx8=; b=qQ2aGEx7roHsZ9BchOnn3Ac4Wgf3mP6k4lTycalnCcgbW867ak9nBiQwRz1T6p6Wyi ElN3rqjceine45DvVJ4wp3lAjm1hCdhvNaPIVKLraoXwr/Q5dvuO26uIn5pZfrt2LBYU TMG6JRiSZWqgo7rrtMu55Yr63UVcBOvuvXqfAfLD6h85s0R7WAVSIbxDVu8VIC2i0pI+ SiFyxRyMJ/gFT4ejjFdljExRixDawCearUGh/O1Pg+BAYSb6YQJDwfLjwoq8cGjS/p/H 4zYiS0e8vq3/jZ+gAkmZC/8zW41IQmaWyoJKHGuYVcWZn/NGaW74L310jf4Or7ME5uWd EsWg== X-Gm-Message-State: AA+aEWbI2NWRUQfhXiC0I9iJPedbVamISkvz2dJRpY4VIZHYchvVPFwV aRj3X0HeGNaT172OBCkV8/8= X-Google-Smtp-Source: AFSGD/UPNbctVDjz2Gut8PeAG0+XIZmLSyT1zzBrLQwxLkYdijrAQ6ItJOkX8GguOhf9NuhKa3u2sQ== X-Received: by 2002:a37:455:: with SMTP id 82mr20555993qke.60.1544666921954; Wed, 12 Dec 2018 18:08:41 -0800 (PST) Received: from localhost.localdomain ([201.82.144.36]) by smtp.gmail.com with ESMTPSA id n3sm258407qtc.81.2018.12.12.18.08.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 12 Dec 2018 18:08:41 -0800 (PST) From: Fabio Estevam To: broonie@kernel.org Date: Thu, 13 Dec 2018 00:08:38 -0200 Message-Id: <1544666918-10783-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 v2] 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. 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. This is needed in preparation for the i.MX8M support. Reported-by: kbuild test robot Signed-off-by: Fabio Estevam Acked-by: Shawn Guo --- Changes since v1: - Drop the mention to the i.MX8M commit that is currently only in Shawn's tree. 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