Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3631799imu; Mon, 28 Jan 2019 08:08:48 -0800 (PST) X-Google-Smtp-Source: ALg8bN62c42/I2nGxlZVuMPr9LHiBKyltqihzGx4fLk+WUfXDaCGQ7MV5HI/TiYhUeI8f6QX4lcD X-Received: by 2002:aa7:80d7:: with SMTP id a23mr22064957pfn.86.1548691728448; Mon, 28 Jan 2019 08:08:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548691728; cv=none; d=google.com; s=arc-20160816; b=otCXTR0U80TwxPf/bM6RkiR2+yhULnkL3/zes+8fNeMY8E8c/8Cd/eqkdyLbrpuqxR 9uB7eWl1dF+jy6eqhvbwg1uS8oUexAtrfF2cSER9ZPq1p00A/ir8a4aScUeouuXWJcLu Gu6czlqFqxdzruFZ+eO3PlPgZI44olRYCeNrHeBqFJshGwl/VRFvRuyLvPJ4MGbivGoz EWnalSe0DzKvrBtQw24ts51n5XMaGhcsTfL6aCcmgE7SyWaNarl2SbJ+RngopCGHpF2M ZSF6hRVzD9b0qoOpRqkvSANBSn61JLaMQQhJ7jhsrcCJiVtCYS075XB40mFWg6NAfUYa tCeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=q6Wf4xlaEa6ZMFqPDVF6G8YB+tKha7qW7RdeID4a7VI=; b=lXK/sK/Mj4M4s5tjoV2TFOC0V45zn6ryomzP2IgDJFgWuY00ugrAWn0S4vmQDkMQOD Yg0hS+/hz6m3Oo5DIheBqH2csIJrM0xuhj5J5hNGEdlUXtK2plPZ9OJW1HKoX//e2uEc NWYHOvKlYhWZ23XIV66AmLwS2L9v0j4Rzttxh2azzB/KBLA6hb8hL2CVKWMN73IA6ZxZ 3jQGD49WaA198VRY8KkX6p93Djt7Jv2xOuVXpyVVxh9gzeVIwTBkKkHx34Fd9XJn1Qyi N+PHqF8mLZUrC+eaAAEcOKBPp7vdWD5REzaO0Yy4nQuSsnnhkhswsNsTAh3CXtOoJaE0 jppg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=sXutsrLs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o13si31975130pgp.540.2019.01.28.08.08.32; Mon, 28 Jan 2019 08:08:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=sXutsrLs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732013AbfA1QGX (ORCPT + 99 others); Mon, 28 Jan 2019 11:06:23 -0500 Received: from mail.kernel.org ([198.145.29.99]:54718 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731983AbfA1QGP (ORCPT ); Mon, 28 Jan 2019 11:06:15 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2B9EC21738; Mon, 28 Jan 2019 16:06:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548691575; bh=kp46RGjIv2Zg0nbml9IvWJ8ey7CexgAkB8yxNjuzTlQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sXutsrLsXXZRhGe8auWLnUKOOyt7nl33a28MLs+c0D60lQv+SHBkherYr/E9jwZF0 3GUE/Mv2JlMOoEUkBB/z/itEc26Ne4x56SR2EgwWDVsEupOzw5/d40fnYbZQiqOPjO +S8ocStf7tVjUmhOInMUBjAE8u9jyCbVxo83fQzc= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Fabio Estevam , Mark Brown , Sasha Levin Subject: [PATCH AUTOSEL 4.19 148/258] ASoC: fsl: Fix SND_SOC_EUKREA_TLV320 build error on i.MX8M Date: Mon, 28 Jan 2019 10:57:34 -0500 Message-Id: <20190128155924.51521-148-sashal@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190128155924.51521-1-sashal@kernel.org> References: <20190128155924.51521-1-sashal@kernel.org> MIME-Version: 1.0 X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Fabio Estevam [ Upstream commit add6883619a9e3bf9658eaff1a547354131bbcd9 ] 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 Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- 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 6ec19fb4a934..2e75b5bc5f1d 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 -- 2.19.1