From patchwork Tue Dec 5 10:09:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 120630 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp5549449qgn; Tue, 5 Dec 2017 02:11:01 -0800 (PST) X-Google-Smtp-Source: AGs4zMYGgTFnmCLV548WLKoYFXKwoaGj/ltYRN/RoudqfmjihTbdN0sZUI780K/kXmgaUd/WgYYA X-Received: by 10.28.183.132 with SMTP id h126mr5809343wmf.76.1512468661797; Tue, 05 Dec 2017 02:11:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512468661; cv=none; d=google.com; s=arc-20160816; b=Fo8pyd1fa+bY4GYyffYvfEfjGAHPgrtSpF1v8Y/lpRSE0/bKy6NPdZIGV7CzWUfFWU MTY6wktZqY4jyDlrnUd6UuIUizvfsnoWfAGTYmfEcpfBxj2/azzYspgKAXXpQN3QY1Zg 3BqJGBDI5Kfw3ZcjxERrinYWq8D3kbx3WIt5QeEk6U5wWGQkSOHtQ0YBn4o5hSBLHnbi 5/11saoNHQVZbrmugI1Grx6zw5Dcdm9zp80oYUfoYsfoxLe5lpzemR5hBRAHMMDGwFm8 SwwhhRAjlK3B2qf/5BsKxvWhwOSS38/m0VwUXvpAXNtw3/B4t627sTPXIUEjblclNhq8 yNgQ== 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=rSxv1pzt4/QSesFd3+C2ZMYheISLHzNlqXfeewQilog=; b=IqRbzAARdsJrmKOoqDlJ/0t3ZNm0pHU+PlFR1td52Ny0Im/+CMV22rFCQFUQ+y2eWg EpqRCFILlynEzBQNmH86SOsoxXUMr727aeo7y5ASr4XsPWlUxt/vcrIxNIO2jOPpGmh9 VN+UH9MHwkho2mlJkEXBqluKH4BI/AZYu9LlGktGwiDE7q9W0zlXbbdMP41EdhUWeNBJ +JjizY0ms1T7TxaTBnXHCRwjrA2M2bVtn6wVA0o8SlRAKIvnYW4Qty+PtU16+XA9vh23 VXg8ROSF2swJy/YBHD4GuhdsVszHxkH1i7OA5KvALPpkSu2gwYjYDucn+h8S6p/8h7Of CWIQ== 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 t128si37904wmd.220.2017.12.05.02.10.42; Tue, 05 Dec 2017 02:11:01 -0800 (PST) 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 C95E126771A; Tue, 5 Dec 2017 11:10:40 +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 4C4BE267721; Tue, 5 Dec 2017 11:10:14 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2 autolearn=disabled version=3.4.0 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) by alsa0.perex.cz (Postfix) with ESMTP id BBAC2266E71 for ; Tue, 5 Dec 2017 11:10:08 +0100 (CET) Received: from wuerfel.lan ([149.172.96.106]) by mrelayeu.kundenserver.de (mreue002 [212.227.15.129]) with ESMTPA (Nemesis) id 0Lv638-1f3eAt45vW-010HgG; Tue, 05 Dec 2017 11:10:02 +0100 From: Arnd Bergmann To: Nicolas Ferre , Mark Brown , Alexandre Belloni Date: Tue, 5 Dec 2017 11:09:38 +0100 Message-Id: <20171205101000.968887-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:9n8G86Q7faT8ZSKyzX6+LMSzUGjPyQnuJqD3+2ik3r+y6yzrrOl XuNCbk+RLTChIb0vBq3sd/yoDv7f9JAiQn8h/ueeCBV0nPg6AhxL0hgSHBD2uoHpBqsmKev zggI3IzYCqvVGWzQvwvpxg3SHANZLzYp+b/p5nFux2Otl5yVRi1rzTJcwSQ+3aKIyFcW7bG tW7sJ+2bfSqqBKz7aMPOA== X-UI-Out-Filterresults: notjunk:1; V01:K0:jaZukYymSvA=:H51r5wIxptgxLrAWT/lhgX bjurQgGKOxX0DpdfAL3NIwMkoe/HuU5seZykVx05M0uwtaLpK+8b/BswsNfEpzSQ19NHv93ZF p1KjFIPheLzF2pcgkEx4Qq1LwBpU8zmIQyuIgIQA0IZVqHB4NuS1/p3lLZd0uYJWDfXwkhD6y GvZWsCvF6AO6s3SNU2LTjbzkpzeui1SM1G1Dd1jpHoLV3QQLYn6IOqw31TeXpxb1UAR2TaNuF oAYj6VQvECYoY7oJ+kLQAWgjlOd0oWZz1kCj8SzO3ZtWWO0bs0s3ZyI5SayxsCNecafWiY3bI 7YEuds/FTPfrd/Z1qKt3255PIo1y6yqM4LCxv2OVbE1SRc0DfKYo6u+oPUDwTNUcUkTwObaPx tBfk6v3VqxkWxwjTii9PQ9EYQuxo+gsymwKHYNbVwBvNCSXADRK2R4n83YVehjo0rijEqDua1 lB0hkuGiQ6MgaRSxo5kaVeVAI07tv5rJ3Fq+sVAZy93IIzdDU4aa/Y2Rp8z5j0Y2WOstauljz QnNjyFisEynvpNL55ekJvm4sD98hMyXZytqam9cibzs4dp0WX27e7ZObbMmDccVz0wKmaHqcA JgwuJkG0lK5tjdC2O+LEKIq++qvgyEkaL6YOXXkKwUcvrZgokvL7topjln5pr960kpz/IRt/6 iJIuSTLEg8SDag+9i4lFOvs+MqahgYdKT4I1tI6CcgMYMUGwzzckhaX3BBeMbAJPhfiRsXFGt jHkcoZUXgQUTsSRp6RzOWReC/3OnCohyYVVEgA== Cc: alsa-devel@alsa-project.org, Arnd Bergmann , linux-kernel@vger.kernel.org, Takashi Iwai , Liam Girdwood , linux-arm-kernel@lists.infradead.org Subject: [alsa-devel] [PATCH] ASoC: atmel-classd: select correct Kconfig symbol 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 Commit 061981ff8cc8 ("ASoC: atmel: properly select dma driver state") changed the way that the dependencies are handled, but then the Class D amplifier support got merged, which used the old method. This seems to have triggered a very rare randconfig condition for me now, leading to a link error: sound/soc/atmel/atmel_ssc_dai.o: In function `atmel_ssc_set_audio': atmel_ssc_dai.c:(.text+0x79c): undefined reference to `atmel_pcm_dma_platform_register' atmel_ssc_dai.c:(.text+0x79c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `atmel_pcm_dma_platform_register' sound/soc/atmel/atmel_ssc_dai.o: In function `atmel_ssc_put_audio': atmel_ssc_dai.c:(.text+0xf24): undefined reference to `atmel_pcm_dma_platform_unregister' atmel_ssc_dai.c:(.text+0xf24): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `atmel_pcm_dma_platform_unregister' Changing it to select SND_ATMEL_SOC_SSC_DMA as intended rather than SND_ATMEL_SOC_DMA directly makes it work again. Fixes: e0a25b6d1862 ("ASoC: atmel-classd: add the Audio Class D Amplifier") Signed-off-by: Arnd Bergmann --- sound/soc/atmel/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 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/atmel/Kconfig b/sound/soc/atmel/Kconfig index 4a56f3dfba51..2d998e5c4fb5 100644 --- a/sound/soc/atmel/Kconfig +++ b/sound/soc/atmel/Kconfig @@ -64,7 +64,7 @@ config SND_AT91_SOC_SAM9X5_WM8731 config SND_ATMEL_SOC_CLASSD tristate "Atmel ASoC driver for boards using CLASSD" depends on ARCH_AT91 || COMPILE_TEST - select SND_ATMEL_SOC_DMA + select SND_ATMEL_SOC_SSC_DMA select REGMAP_MMIO help Say Y if you want to add support for Atmel ASoC driver for boards using