From patchwork Mon Feb 29 14:25:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 8454721 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id DE5B09F52D for ; Mon, 29 Feb 2016 14:26:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E7E13202E9 for ; Mon, 29 Feb 2016 14:26:32 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id B2FC1202C8 for ; Mon, 29 Feb 2016 14:26:30 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 4EACA2617AB; Mon, 29 Feb 2016 15:26:29 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 141D1260698; Mon, 29 Feb 2016 15:26:21 +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 6EF092606A9; Mon, 29 Feb 2016 15:26:19 +0100 (CET) Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by alsa0.perex.cz (Postfix) with ESMTP id 33F37260535 for ; Mon, 29 Feb 2016 15:26:11 +0100 (CET) Received: by mail-pa0-f49.google.com with SMTP id fl4so92983351pad.0 for ; Mon, 29 Feb 2016 06:26:11 -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=ChOTTAvfikS8v1qB8PKdmDUUrKWFKNHKWzj6ap9yqHM=; b=KL0dnNZTP4fN21HQfJ2PqZoZUC7+H41rF3LqyEQj8u2/f3T/gAR1ORJmWTKBKnmxhT M+vYMyp5dmDDBjjRFWDcWphZbOA36VDe5S2t5mn9/TtdqnJ23sq0azGsYbqoc5UaiP+M 13ZRBcyM8CIescg2XUqv82DSKA6XGMsuTm3jUnHOInSQ68aWzDmKtgUfa12o1sOtIO32 tbH7Hi7qGnDW8z/5pKrZAKWGKORyflxhMiXFM18QOZDMcUxIBkARnM5ZDjwr4VhlVAw3 Wg8bLXd5srKoS6gbj6Xtpz3LotbmEtlmh3pBf8gn8i8NiQVLTH8aLQtV61JX2uwTU2QF iEyQ== 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=ChOTTAvfikS8v1qB8PKdmDUUrKWFKNHKWzj6ap9yqHM=; b=g1MUi+SwMKdASiFx4ARZaNOH9V2Jyykb+GVR78igswTZmICskt3vaTuCOSl5n6ES0n 2hoBQ5WF+SufrN+Vtz/XPr8gI5wr142VUvV6x6WEkBfPovDHjerdTBfgmAsJydZw2NbP 86wmdpSeBXLjRA2gaZePBisPtDyp19wzF4GcuZEygy9lvIoGOd2ISxFfo47JEHS44WX+ 14ATJF+WyhcjItIcrqFPwX7W2AsvCRel8fJCWehzY7MFepbDFI3XYigFHAjzFHyuyuCT sHuRSAO8PDTq5EMVhTzqdVB8pJV/QErf4bZWVT8Q8Um62Qv0L113QEGiEWZk0qTgf2lo iNjw== X-Gm-Message-State: AD7BkJLy65tRNN53JrpDJ5Q5Vdfp0/f5eQcB1v5dPZdjEdfg/IM6s+T3bSj4ACVEknH/hw== X-Received: by 10.66.145.194 with SMTP id sw2mr22159277pab.69.1456755969921; Mon, 29 Feb 2016 06:26:09 -0800 (PST) Received: from localhost.localdomain ([103.24.124.195]) by smtp.gmail.com with ESMTPSA id x13sm38611999pfa.72.2016.02.29.06.26.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 Feb 2016 06:26:09 -0800 (PST) From: Sudip Mukherjee To: Patrick Lai , Banajit Goswami , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Date: Mon, 29 Feb 2016 19:55:39 +0530 Message-Id: <1456755939-7848-1-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.9.1 Cc: alsa-devel@alsa-project.org, kernel-testers@vger.kernel.org, linux-kernel@vger.kernel.org, Sudip Mukherjee Subject: [alsa-devel] [PATCH] ASoC: qcom: add dependency on HAS_DMA 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 m32r allmodconfig build is failing with the error: 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! lpass-platform uses DMA so add HAS_DMA in the Kconfig. Also add the same for SND_SOC_LPASS_IPQ806X and SND_SOC_LPASS_APQ8016 as they will also select SND_SOC_LPASS_PLATFORM. Signed-off-by: Sudip Mukherjee --- m32r allmodconfig build for next-20160229 is at: https://travis-ci.org/sudipm-mukherjee/parport/jobs/112534168 sound/soc/qcom/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sound/soc/qcom/Kconfig b/sound/soc/qcom/Kconfig index 3cc252e..1e7a783 100644 --- a/sound/soc/qcom/Kconfig +++ b/sound/soc/qcom/Kconfig @@ -11,15 +11,18 @@ 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