From patchwork Tue Apr 29 10:37:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 4086701 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 611079F169 for ; Tue, 29 Apr 2014 10:38:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8DB86201D5 for ; Tue, 29 Apr 2014 10:38:36 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 6043F201D3 for ; Tue, 29 Apr 2014 10:38:35 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 1CF97265004; Tue, 29 Apr 2014 12:38:33 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_DNS_FOR_FROM, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 0C969264F3D; Tue, 29 Apr 2014 12:38:23 +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 6444F264F3F; Tue, 29 Apr 2014 12:38:22 +0200 (CEST) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) by alsa0.perex.cz (Postfix) with ESMTP id 6F575264F26 for ; Tue, 29 Apr 2014 12:38:14 +0200 (CEST) Received: from wuerfel.localnet (HSI-KBW-134-3-133-35.hsi14.kabel-badenwuerttemberg.de [134.3.133.35]) by mrelayeu.kundenserver.de (node=mreue004) with ESMTP (Nemesis) id 0Ls5Pv-1X1LBl1mDH-013tY3; Tue, 29 Apr 2014 12:37:46 +0200 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org, Alexander Shiyan Date: Tue, 29 Apr 2014 12:37:45 +0200 Message-ID: <4270904.84oGcCXL4B@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.11.0-18-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1398740853.880576398@f238.i.mail.ru> References: <6606961.lAGLvkNsEj@wuerfel> <6285923.UQqcZVikjI@wuerfel> <1398740853.880576398@f238.i.mail.ru> MIME-Version: 1.0 X-Provags-ID: V02:K0:E87A0898kj2OnmvwfBgO/QOqeOsTtpj34t0YLF92B5y 8fkHfa3A/lDcK/+xryk2zbwgKL4NLAAH/44+sr9fCqUI+RhWx1 pPQmqdQgiDexZ2spLyHHkoARA1aqrXO+MDTM8fltaw1Nyx6SO7 loKksP0A3d518l7TFix3D+U/I5Lw8XtOK3yHhUDFfVKwA0v/wU xpC+6gCgn2hzTgF8ILzxhOq5UYgtltCKtHmwQ/hkuYABTwqaMg ErVOg6IziYbNqjyD36n6EhMqn3NcSNbXYzJ1N64lUOiSEY4GM2 BbPSTgSmqt5fWaJtr4E+CuQm7yrndH33HnciWoW2K8jLgWAKdz gO0jlC1So04GhJwV9IDM= Cc: alsa-devel@alsa-project.org, Mark Brown Subject: Re: [alsa-devel] [PATCH] ASoC: fsl: select SND_SOC_IMX_PCM_DMA where needed 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP On Tuesday 29 April 2014 07:07:33 Alexander Shiyan wrote: > Mon, 28 Apr 2014 23:12:14 +0200 ?? Arnd Bergmann : > > On Tuesday 29 April 2014 00:35:41 Alexander Shiyan wrote: > > > > > > So, I don't understand why this error happen, as well as I can not > > > reproduce this... > > > > It's probably CONFIG_SND_SOC_IMX_PCM_DMA=m and CONFIG_SND_SOC_FSL_SSI=y then. > > What is the intended behavior in this case? Should CONFIG_SND_SOC_FSL_SSI > > be forced to be a module as well? > > Hmm, yes... > I thought that I had already solved a similar problem for the earlier > version of the patch ... How about this? Signed-off-by: Arnd Bergmann diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig index fb26345..af0bb92 100644 --- a/sound/soc/fsl/Kconfig +++ b/sound/soc/fsl/Kconfig @@ -9,6 +9,7 @@ config SND_SOC_FSL_SAI config SND_SOC_FSL_SSI tristate "Synchronous Serial Interface module support" + depends on m || SND_SOC_IMX_PCM_DMA != m help Say Y if you want to add Synchronous Serial Interface (SSI) support for the Freescale CPUs. @@ -18,6 +19,7 @@ config SND_SOC_FSL_SSI config SND_SOC_FSL_SPDIF tristate "Sony/Philips Digital Interface module support" select REGMAP_MMIO + depends on m || SND_SOC_IMX_PCM_DMA != m help Say Y if you want to add Sony/Philips Digital Interface (SPDIF) support for the Freescale CPUs.