From patchwork Mon Aug 7 10:40:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9884973 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 37C83602CC for ; Mon, 7 Aug 2017 10:41:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2A5B6285E3 for ; Mon, 7 Aug 2017 10:41:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1F2D728619; Mon, 7 Aug 2017 10:41:21 +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=-1.9 required=2.0 tests=BAYES_00, 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 6350F2860B for ; Mon, 7 Aug 2017 10:41:20 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 370852670C6; Mon, 7 Aug 2017 12:41:19 +0200 (CEST) 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 F15942670D5; Mon, 7 Aug 2017 12:41:17 +0200 (CEST) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) by alsa0.perex.cz (Postfix) with ESMTP id 5A5662669F6 for ; Mon, 7 Aug 2017 12:41:15 +0200 (CEST) Received: from wuerfel.lan ([78.43.238.10]) by mrelayeu.kundenserver.de (mreue101 [212.227.15.145]) with ESMTPA (Nemesis) id 0MPGpE-1dj5JP32sC-004QNK; Mon, 07 Aug 2017 12:41:04 +0200 From: Arnd Bergmann To: Liam Girdwood , Mark Brown Date: Mon, 7 Aug 2017 12:40:44 +0200 Message-Id: <20170807104101.3540159-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:yilya//1q1V9VP5yHJD84ePZpZE+Oc1LEV6NtI4eCOP7QoSMixc BlIqxukIHD8m8kE2y4/lc2HBjJD0v2JPLTAbPA18Y2mOOkZjebgX3AwVqs41ihUVbDI112x BsJcj4hC8u9CgHoQcWW7KRc+r80QDCAkGqMuKJ1Q7N2hlTBDvzSHW6FIGolT8km9vyn97QJ yaAZlvGsXqjOBua3GQojQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:0+Rmn68ejXg=:KWc2680CX3NGlRliW0vCBo +G+9XgAFC/Q2E11zHLTi2wAsO9pK1vuRAYVpGwsOKbOsKLBW18ZrD7NTOt56zU5e+JVj+FDyk wrwG9LRab4CScugRnkXzuyl421lzOSpwBKPHJ1PG7zSpVX7//eGkzSxUn6ldvTvQeNRYh4Zmk 8nMWUmKxu10qNuAf12EzDaO0eOBnoAVSDMQ9Pj7ewC2VCZfAYi3tIMc7G75+yXPTj8BAWqwOK cVcrrFwta4Xpl8w+21oUfDCP/GRareheMVAcTI0GdCq/siUqhMtfdBf3Q9/uTzu6dlDYnh6KV 88gq8FmzFuWMoz4NSwWLu/pxgz/A2jogMGSIOJOtuKI6/oVbvUMygzy8f7/Oy3avrGku3SVrC 8sGVHayrrCYm0x+8AMt+7AcMkPYeZdAH0ZwTZqSOgh9MEuLb0GSvyqciu8WEPckl7lP2jowLU GHIhDCCvlfF1RZxiBYtCQqHU47M9RpaqynaM15q/WVSUTqwoSuSi02t5jx5v8+9rzWZTd0NAn wTc9SyeHtTsZzl+VhVWUlGgQJUEpmL8Serv37EyNRq/r+vUW1ZtekLD9qxdmQQGF4AkXag3+Z ewiwR6K55iithggMPpfLlQbw1zn8RkYrc6eQSLfhQ3q0erD5VF1c8vLDurntUoCrvzAs9KfxM LWEC3ZXoI9UFFFdXC2qI1TsJagTpZ9Uu/tnXKhZkXUefhBKZtxybTAGhpidSn45c845MPL7qN VGKh6Epemvb3yB5vPdS2gYI+tFcx9OIHw7WfVw== Cc: alsa-devel@alsa-project.org, Kuninori Morimoto , Arnd Bergmann , linux-kernel@vger.kernel.org, Takashi Iwai , Haojian Zhuang , linux-arm-kernel@lists.infradead.org, Robert Jarzmik , Daniel Mack Subject: [alsa-devel] [PATCH] ASoC: pxa: don't select SSP for COMPILE_TESTing 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 When the audio driver selects CONFIG_PXA_SSP to be a loadable module on a platform other than PXA, and the PXA SPI driver is built-in, we get a link error in the SPI driver: drivers/spi/spi-pxa2xx.o: In function `pxa2xx_spi_remove': spi-pxa2xx.c:(.text+0x5f0): undefined reference to `pxa_ssp_free' drivers/spi/spi-pxa2xx.o: In function `pxa2xx_spi_probe': spi-pxa2xx.c:(.text+0xeac): undefined reference to `pxa_ssp_request' spi-pxa2xx.c:(.text+0x1468): undefined reference to `pxa_ssp_free' spi-pxa2xx.c:(.text+0x15bc): undefined reference to `pxa_ssp_free' Fixes: 73d7ee2e831f ("ASoC: pxa: add COMPILE_TEST on SND_PXA2XX_SOC") Signed-off-by: Arnd Bergmann --- sound/soc/pxa/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/soc/pxa/Kconfig b/sound/soc/pxa/Kconfig index 484ab3c2ad67..1d392582559d 100644 --- a/sound/soc/pxa/Kconfig +++ b/sound/soc/pxa/Kconfig @@ -33,7 +33,7 @@ config SND_PXA2XX_SOC_I2S config SND_PXA_SOC_SSP tristate - select PXA_SSP + select PXA_SSP if ARCH_PXA config SND_MMP_SOC_SSPA tristate @@ -141,7 +141,6 @@ config SND_PXA910_SOC config SND_SOC_TTC_DKB tristate "SoC Audio support for TTC DKB" depends on SND_PXA910_SOC && MACH_TTC_DKB && I2C=y - select PXA_SSP select SND_PXA_SOC_SSP select SND_MMP_SOC select MFD_88PM860X