From patchwork Fri Mar 11 18:12:52 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 8568401 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E2562C0553 for ; Fri, 11 Mar 2016 18:13:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1D8EE2017E for ; Fri, 11 Mar 2016 18:13:23 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id B082820107 for ; Fri, 11 Mar 2016 18:13:21 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id DEAFE2665DF; Fri, 11 Mar 2016 19:13:19 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,NO_DNS_FOR_FROM,RCVD_IN_BL_SPAMCOP_NET, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id A2C3D261B20; Fri, 11 Mar 2016 19:13:15 +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 CA52226602C; Fri, 11 Mar 2016 19:13:14 +0100 (CET) Received: from mail-pa0-f50.google.com (mail-pa0-f50.google.com [209.85.220.50]) by alsa0.perex.cz (Postfix) with ESMTP id 65CAA261A73 for ; Fri, 11 Mar 2016 19:13:08 +0100 (CET) Received: by mail-pa0-f50.google.com with SMTP id fl4so104762042pad.0 for ; Fri, 11 Mar 2016 10:13:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=oNDVjBlvLIkGaq0FgibVoUXAdZmT1jm76JmMHpRbu0Y=; b=s2GpmjXDJdSVj4IsUIpdXCrLMGu5t1nn0kBbLw5CJXefEt0yfD9Bgq+ur9i4XejBSb MrxoT+Z8okhZwWlPd2fxy5T61rR9cOWoamLNG+vq+M4/B2xV10HlAGYEmTzNij5VUq9M bizODbx6K9yti8mK3KhKLEgEvbZjiDJvuTi92btFFzYNOea9QtfrWEs5tngHZlKDom8u dc//PiE+c6IdAagdkTi1eo6mrPbcfJ4TfAGQ5a0LInwubBZXgO9O/U9xi7Ze4QrKidkL WBXpmhYPZT177pbVoBpwTC44pgoD5lRAFQZZ0QvVSboOaZTzx3dc2avn1tPf5wAFG8Bb q4pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=oNDVjBlvLIkGaq0FgibVoUXAdZmT1jm76JmMHpRbu0Y=; b=bUcJq9F0FFbnxU85n1gsee6y/4Q5/reTiXUGMMZrV+yu4Ikp63n+ffuFwblFUzYMFW BHoPOdNspVVlyeT6thIvkmcdvhp7D+wpzGBXGCcyOz5AEjYOK80k6vSUjo6f3X8hSJ7K vk5m/e4eeOxEHdQBcd7ArZPNnTOxeuNDGmp7iz08rTMfaJxQxKmv3qFPiB1cqz7aQwv3 Ay/B9Lv3rz4mRltKiO+hevnK5dpU7ZXNNqnOeeUMhD78snqzcP8Bh6tULaz93enRuIBH gabr5AZRfZVRpnmLeJJMUbar3VCWtkDzFn6Ar/hHQUY/XU415GOryc/Hn1wpXr9BvSse FZfA== X-Gm-Message-State: AD7BkJLQBu1dxsRghQ9IcfitP+wOHlr+2p2mvdfqLlAm8PFoM+PKsKoTo388Tv66a8yN9w== X-Received: by 10.66.139.199 with SMTP id ra7mr17896704pab.74.1457719986715; Fri, 11 Mar 2016 10:13:06 -0800 (PST) Received: from localhost.localdomain ([103.24.124.195]) by smtp.gmail.com with ESMTPSA id ez6sm14506690pab.12.2016.03.11.10.13.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 11 Mar 2016 10:13:06 -0800 (PST) From: Sudip Mukherjee To: Patrick Lai , Banajit Goswami , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Date: Fri, 11 Mar 2016 23:42:52 +0530 Message-Id: <1457719972-9416-1-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.9.1 Cc: alsa-devel@alsa-project.org, Sudip Mukherjee , linux-kernel@vger.kernel.org Subject: [alsa-devel] [PATCH] ASoC: qcom: fix build error 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 X-Virus-Scanned: ClamAV using ClamSMTP From: Sudip Mukherjee While building m32r allmodconfig the build failed with: ERROR: "bad_dma_ops" [sound/soc/qcom/snd-soc-lpass-platform.ko] undefined! ERROR: "dma_common_mmap" [sound/soc/qcom/snd-soc-lpass-platform.ko] undefined! To satisfy the dependency CONFIG_SND_SOC_LPASS_PLATFORM should depend on HAS_DMA. Some other configs also needs the dependency on HAS_DMA as they are directly or indirectly selecting SND_SOC_LPASS_PLATFORM. Signed-off-by: Sudip Mukherjee --- m32r build log at: https://travis-ci.org/sudipm-mukherjee/parport/jobs/115245240 sound/soc/qcom/Kconfig | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sound/soc/qcom/Kconfig b/sound/soc/qcom/Kconfig index 3cc252e..8ec9a07 100644 --- a/sound/soc/qcom/Kconfig +++ b/sound/soc/qcom/Kconfig @@ -11,21 +11,24 @@ config SND_SOC_LPASS_CPU config SND_SOC_LPASS_PLATFORM tristate + depends on HAS_DMA select REGMAP_MMIO config SND_SOC_LPASS_IPQ806X tristate + depends on HAS_DMA select SND_SOC_LPASS_CPU select SND_SOC_LPASS_PLATFORM config SND_SOC_LPASS_APQ8016 tristate + depends on HAS_DMA select SND_SOC_LPASS_CPU select SND_SOC_LPASS_PLATFORM config SND_SOC_STORM tristate "ASoC I2S support for Storm boards" - depends on SND_SOC_QCOM + depends on SND_SOC_QCOM && HAS_DMA select SND_SOC_LPASS_IPQ806X select SND_SOC_MAX98357A help @@ -34,7 +37,7 @@ config SND_SOC_STORM config SND_SOC_APQ8016_SBC tristate "SoC Audio support for APQ8016 SBC platforms" - depends on SND_SOC_QCOM + depends on SND_SOC_QCOM && HAS_DMA select SND_SOC_LPASS_APQ8016 help Support for Qualcomm Technologies LPASS audio block in