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: 109545 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp1433064qge; Mon, 7 Aug 2017 03:41:20 -0700 (PDT) X-Received: by 10.223.136.78 with SMTP id e14mr61572wre.84.1502102480843; Mon, 07 Aug 2017 03:41:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502102480; cv=none; d=google.com; s=arc-20160816; b=mqAGDmcKz6gupWzsNZLM9QRtlDVt+L8c+50E1BHQ3j3lqpBnH4xwUDjANce3+/Pqzd GXfwts+DEvcBH5r20ZuFqOEm8v1B05bNKwHOcL+Sh9D7hQNvFeqBDB7hZEda6+8UWolX aQtIQzARbzPGX+cdu2yD3LOWG5nRDk96aAbOdY5hKnlFF6NNSSjPUVtNZ8aaVP+bmFjl /bMUwlhE0WeCeO2XDGxiaw9EPusJ1u1Ij1Vp6wCLjPed3zzNDSXMLOaAKY/j+Kp4CQbI tzXNBVqKx0QYDdoicdpfZ9cREd8qCox+yl5/U+1tqwlu7Dx8UUdZjz/gvqla0PS0Mriv NWDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from:delivered-to :arc-authentication-results; bh=pgFkqfLf9z47Thp2x2d9ObcBYo/y8f/Eparc3UcIW5k=; b=LFXExT4uG1M6dZHal3AvrCNEqFopyWJZ2IGS6YpyE3k/P0dhBhhsrokSyFei9GHqTB aVlq+lM2boxms7dO7GOIQ7NpvcoNsYjnyd/B106J8t8zN7OUKzdpLtnsvHetb06QOZYh M2FA6ED5cH2tl/R3jtMmJPwFZsjIenT7N34SQT6dYBFsTMg2+wzneYZwz1iJttaowAI1 saERhrjSc4rHC6O7x5IKqSaM+RjF1BsTv3EVU0Jv7i+fke1EjbDvPEmzdNx3gQxcHJsz 9yVY0GSUVSj1pMHZwaCd/YSm5cMRtDEwwX0rJTHerzqWl9Ea2HVBlqpfM482JRnGBea1 wSrw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id o104si8705963wrb.203.2017.08.07.03.41.20; Mon, 07 Aug 2017 03:41:20 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org 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) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,URIBL_BLOCKED autolearn=disabled version=3.4.0 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 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(-) -- 2.9.0 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel 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