From patchwork Tue Jul 24 09:36:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10541739 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 65F8B112B for ; Tue, 24 Jul 2018 09:37:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 52D2123B34 for ; Tue, 24 Jul 2018 09:37:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 463072867C; Tue, 24 Jul 2018 09:37:49 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 EB74723B34 for ; Tue, 24 Jul 2018 09:37:48 +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=/OQ+jXzKqpo/2mEIjvX9RpdWBD40XDj85b99lBPMgrU=; b=Z7J FsGBrW6r+UrvsvL3tHZffYevBMX78S0ljqSLYuhlcAfejKSJhs/CRT3fx/fP+Dv1vVwwt/Wv4j0S+ t/9ASbP3l4pusNOdvara4FKmkZ2LF3QPtVq5UK3LhCOaRsuskP6vlxtk1Kpyf3h/2jY55NArRPbKb qFxOXB1uTUqtnbwv+qC5YEqMLIZiSXVLJ8Qu9cEEfKZdnXuk2vmaTFe+I1Gp81c121koUCYIfNaAA 5yn+Pv7RFj24X7Tns6G4cz4Je545g1/K0HcznqklALV+ore1tfpjFzQJ66Vw6n1KMrEAKTGk/i4EO 6JqrGstasz0ZtiblPUhTT30SEm7LOnQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhtlL-00041k-6Y; Tue, 24 Jul 2018 09:37:47 +0000 Received: from mout.kundenserver.de ([212.227.126.133]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhtl9-0003ay-FL; Tue, 24 Jul 2018 09:37:37 +0000 Received: from wuerfel.lan ([109.193.40.16]) by mrelayeu.kundenserver.de (mreue007 [212.227.15.129]) with ESMTPA (Nemesis) id 0Mfwsi-1fKiZT0zUS-00NB7y; Tue, 24 Jul 2018 11:37:07 +0200 From: Arnd Bergmann To: Mark Brown Subject: [PATCH] ASoC: meson: axg-spdifout: select SND_PCM_IEC958 Date: Tue, 24 Jul 2018 11:36:45 +0200 Message-Id: <20180724093705.1691747-1-arnd@arndb.de> X-Mailer: git-send-email 2.18.0 X-Provags-ID: V03:K1:ajL6zwNSpxYI+LB6xDn8DiUN4uJ/sCiKoo+3YpjkWjfL2chb7ab +xmf2ku71NFbOGSspMEStQhmc0RG53buKnypRSWiLDj5vGXJPdlqs6qX//5xg/tmhe1ggU2 ro+jXhDr91e9J2YNKKKoK1z7pRVsIIEO8TUM2T1GRQ9s5I1bBvIs03bSQAvUOaD/sjhPFAD KaM+9Y3/QdIEBhGzkY28g== X-UI-Out-Filterresults: notjunk:1;V01:K0:jEFgp+6BVCI=:HAR2hNr3FfoM5aHRSgTIWs FzoO85lTGa/PwRbaxjpIb6+D8iqMwhysR8/iXLtvRG15o07FZZEZNykyOB8sa1Mk9KzO9cxVW 9DoY93mohHbmmVY4ysryH7qdRkN8U8xHwFpyrk8XHKmKWjDPLQXtviNt4hmEujEtVTi/MeE49 U8ePWXsr39Vt8nESWM2ezaG81yZvMb4ecN89j4jTQzG60Vf7d9+QSHqZ2yfvEE0+zq237wzaO J+BHqQTU1CLVeA37ea09UuuenVm7r1joM0mULCSZASuoY5V4fxK8ByxB0gj740Ca6yneZ/9kg mqyopj1C/dEXJ1v4aOAeEsuTW1vckBhEkzMiZ8/7uYcoIaPyZaNp02q1sZ9ZTA9usQQ3iVbGc Wx1xgwsQGpA+ENiHae8Hq07ucCCC0EoOWjlGp9/lNRU3KwBXbZXeyfz28HGholYCf9T8jnFNd i3pVjxEqwwM1G/6BQruVUd3GbOI9niNreYS816rVjikynZgbpHWyjDcXi4P0va9Ka6SVsZN/Z O0UbztuTV56nIyj5SVukwTqxM1N996fgp0B9KQen1oUEQYuv6WSGj+tjF5Eoc6qXp+DfHTia6 R45QsEXrsMqjbOWBzM17U9I52I10gjMrfvP9yH/Wg6rQdZfAjlvzx0/qn8tb9/v1dPs3+Fjab RJlHx/gcy1q6EX1J6nZbbNyYDaBpZmioptwdicOB4d76PHEESLo5QbirT0vg9/mzvy+c= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180724_023735_933974_B9BBDE73 X-CRM114-Status: UNSURE ( 8.48 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@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, Arnd Bergmann , Kevin Hilman , Liam Girdwood , linux-kernel@vger.kernel.org, Carlo Caione , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP When CONFIG_SND_PCM_IEC958 is disabled, we get a link error for the new driver: sound/soc/meson/axg-spdifout.o: In function `axg_spdifout_hw_params': axg-spdifout.c:(.text+0x650): undefined reference to `snd_pcm_create_iec958_consumer_hw_params' The other users use 'select', so we should do the same here. Fixes: 53eb4b7aaa04 ("ASoC: meson: add axg spdif output") Signed-off-by: Arnd Bergmann Acked-by: Jerome Brunet --- sound/soc/meson/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/meson/Kconfig b/sound/soc/meson/Kconfig index 4cf93c05a982..8af8bc358a90 100644 --- a/sound/soc/meson/Kconfig +++ b/sound/soc/meson/Kconfig @@ -56,6 +56,7 @@ config SND_MESON_AXG_SOUND_CARD config SND_MESON_AXG_SPDIFOUT tristate "Amlogic AXG SPDIF Output Support" + select SND_PCM_IEC958 imply SND_SOC_SPDIF help Select Y or M to add support for SPDIF output serializer embedded