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: 9884975 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 1B71F602CC for ; Mon, 7 Aug 2017 10:42:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0F1CB285E3 for ; Mon, 7 Aug 2017 10:42:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 03DA328619; Mon, 7 Aug 2017 10:42:23 +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,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8E456285E3 for ; Mon, 7 Aug 2017 10:42:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=+aG+GYMJDozJ97aJpa7T9/Tll/4Mz++0dMT94HzBpiI=; b=b7i Dl4B8UheuHhZ9i5xV7NDjE454rnoUmUmwELB9vKRNTBThbgEHaZFMXvGY7PFnjmSN8Sdfl0YzEHPk Bstc1+Kq+1u37d8tTmRNfVaAqeaOGck6ftEHXoTG5yvmugOTYxzN7kHPt8t9V5lWq9VCkbQxt4JoQ PJ5Qa7GRsCWoRBLHTBT5yXE4C+R3Az4vUy8/wzDkgWKApO7dGpDpMcUuAA2RMbGeuxLFiPRyHyG5k rbedAUEKmp7KcKLjicM/RG5KtJJ+FPdbkos5j268JBiVk5dS/xyTFht2sbPstzq0RhWqrXMW0lCmd 5EAo0VgvN8k9Guzjz14DzgqqdwBSAjg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1defUJ-0002u9-MZ; Mon, 07 Aug 2017 10:42:19 +0000 Received: from mout.kundenserver.de ([217.72.192.73]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1defUF-0002rz-A0 for linux-arm-kernel@lists.infradead.org; Mon, 07 Aug 2017 10:42:17 +0000 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 Subject: [PATCH] ASoC: pxa: don't select SSP for COMPILE_TESTing 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== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170807_034215_726929_6BCD3E91 X-CRM114-Status: GOOD ( 12.43 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alsa-devel@alsa-project.org, Kuninori Morimoto , Arnd Bergmann , linux-kernel@vger.kernel.org, Takashi Iwai , Haojian Zhuang , Jaroslav Kysela , linux-arm-kernel@lists.infradead.org, Robert Jarzmik , Daniel Mack MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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