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: 142746 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp7051996ljj; Tue, 24 Jul 2018 02:37:16 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf6MIJORnqv3tG3GVRSNEOEHSbK2C5XrrnSxaCYV4wrF5DYukyqFL0EJ6x4TlVBewv5aIMU X-Received: by 2002:adf:cc0a:: with SMTP id x10-v6mr10399238wrh.242.1532425036717; Tue, 24 Jul 2018 02:37:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532425036; cv=none; d=google.com; s=arc-20160816; b=sJywej8Sh4DN3Pm8vxnPalXjJMmSpchNln8G0pB7zax6XxPoZ6Fo8lHrCPqJCnq9Zf xVFsUJbwfU7EbfL+gIe4cOz38a7fXGyd4kBHM5zecqLKNETXBn07z/zGKb1DaDdXmyNe oEFXuGM9h8X3ap8Q5Wn9zq39yJ0S/vIfFmT9wGlVTL3QejJtunuIRA0PuiVKD0wqZ+PD EbQVuvSJSXQhkiGiC5qPK7wdWhF3uAWiTDWy4XrRcWgQtVqIhB7rH97wN7jSBd/WMZ8K E5lWy0QP/t7da7jwep70PeZcbthWmVJzEXcbihT0TOUwTnP+S3PdnLvDe2FllX9XIdAA FQVg== 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=UWVJ4DV6n/wmFZkXJCe7JA9MfMY8UZJTv9W7kVGKS0Y=; b=ggckrMd2yAZ4bQ40QdSlzsc7zccG3+9y3sqKxvZdfxviC9YLvGFTtfRD2NpjS63wbu 1jtkNo6eBbwaXgagwdZMAW22Hh5Fo8S6QqC3hFru5ilthIoaG98JZcnOguIHdAKCEAR7 k/TTU3Jm4bUMOS0A3yLr80L16TKe7Om+eIY2GkZwfY9YBsJ+v6KjxWdOIASummE65sKP Qn/eLcBlxAj/HHbiUj1dKYdb2hO5M6OLbF/dZSWOVeZoZKayRmC6L0mkAWd1rciOE/Dy XonrjDiHpnFV97X8SdMUWHXa3Ku5fPDRtQ2rAQNwnmmz3jh+KvrHheptHMyIzabwRjDd Av+w== 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 z187-v6si826420wmg.162.2018.07.24.02.37.16; Tue, 24 Jul 2018 02:37:16 -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 A40622676CF; Tue, 24 Jul 2018 11:37:14 +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 EABA82676D1; Tue, 24 Jul 2018 11:37:11 +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=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE 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 AE92826739D for ; Tue, 24 Jul 2018 11:37:09 +0200 (CEST) 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 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= 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 Subject: [alsa-devel] [PATCH] ASoC: meson: axg-spdifout: select SND_PCM_IEC958 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 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 --- sound/soc/meson/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.18.0 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel 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