From patchwork Sun Jun 5 18:00:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 9155657 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1EAA660574 for ; Sun, 5 Jun 2016 18:00:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 16D18281AA for ; Sun, 5 Jun 2016 18:00:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0B969282EE; Sun, 5 Jun 2016 18:00:46 +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=-1.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C51EF281AA for ; Sun, 5 Jun 2016 18:00:44 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 59A50265767; Sun, 5 Jun 2016 20:00:42 +0200 (CEST) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id A0BDA2651B7; Sun, 5 Jun 2016 20:00:33 +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 68A9C2652EE; Sun, 5 Jun 2016 20:00:32 +0200 (CEST) Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by alsa0.perex.cz (Postfix) with ESMTP id 3FCD92607F7 for ; Sun, 5 Jun 2016 20:00:27 +0200 (CEST) Received: by mail-wm0-f67.google.com with SMTP id c74so3040745wme.0 for ; Sun, 05 Jun 2016 11:00:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=OkwGnf9GaZFCyJGRWqPRAnRukdZMBj++25cbx2oMCmw=; b=xjJ7+EpIINL77oj+EZE5cEjVNXrblTwsiG8ZyUhoSMOPOSqqSi/7zbo3XCfSvo+lMs foNfQRS3qZYs1IXa4vbdbwzmpoi4fxQFAELXrZ4medqSHz6eK1N3plS8rKxjdgWGEA4A ydsHtiyJK8X51pwgEqoY/7/rh42JsbCKoZpdhEzTeIcJaBLQXnACBtMxOvhU5UL55ePz KAX1yRqENR/xB/KdtJacz8n3M1629Sp0sAQtoGoX/jRMC55R2YPRMsTnlzBNmNxg6JN6 p6a/M1IGKAWdZgfXXJRkxETkr4XfcBINz0pSUSb4dOqTo69ZPwyluXUTXtMZQDtej5Wg kKSA== 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=OkwGnf9GaZFCyJGRWqPRAnRukdZMBj++25cbx2oMCmw=; b=M7NuCHhuT4/axR5P+acdWwo9CztZbMACp8StVIiJe+1xZN898rQze0pWbqt43VUmHq BDdx4OoV6NrN0rl5zd1YUcr2XcOyUZaPmWZX1Cy7pxC8KePmLTyXIBH70zYGlLCJbYkV Q/qpSibuPDwByzPUtzzLNZn7U7fNePgaaa6YOj6uEInrcaeoimAb4YPCAC+fwIgyL0R1 PIMk0x95cSzfw2ok5qCqfeelJX1M7mtwbLmLyIqfac0nCmtbijdFr4t6lQWhQwJq5T0H 6p6oqe5Gd6DrTr+z3fQqxC8O7UsAaxPdME5WwOGB0Df7lEs6egzMeLsrsvsnO/OsIi/U AApg== X-Gm-Message-State: ALyK8tKmacLGAdvqZBxLPpag+olqOpL/o39unGmVBEy73kjwueDaiPcUG5qgSiNYeaNaIA== X-Received: by 10.28.98.215 with SMTP id w206mr7702583wmb.79.1465149626801; Sun, 05 Jun 2016 11:00:26 -0700 (PDT) Received: from sudip-laptop.lan (234.98.208.46.dyn.plus.net. [46.208.98.234]) by smtp.gmail.com with ESMTPSA id m10sm10257112wjt.38.2016.06.05.11.00.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 05 Jun 2016 11:00:26 -0700 (PDT) From: Sudip Mukherjee To: Nicolas Ferre , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Date: Sun, 5 Jun 2016 19:00:21 +0100 Message-Id: <1465149621-4493-1-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.9.1 Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Sudip Mukherjee Subject: [alsa-devel] [PATCH] ASoC: atmel: fix build failure 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/atmel/snd-soc-atmel-pcm-pdc.ko] undefined! The code is using DMA but the related dependency is not mentioned in the Kconfig. Signed-off-by: Sudip Mukherjee --- build log is at: https://travis-ci.org/sudipm-mukherjee/parport/jobs/134651165 sound/soc/atmel/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/atmel/Kconfig b/sound/soc/atmel/Kconfig index 06e099e..22aec9a 100644 --- a/sound/soc/atmel/Kconfig +++ b/sound/soc/atmel/Kconfig @@ -10,6 +10,7 @@ if SND_ATMEL_SOC config SND_ATMEL_SOC_PDC tristate + depends on HAS_DMA default m if SND_ATMEL_SOC_SSC_PDC=m && SND_ATMEL_SOC_SSC=m default y if SND_ATMEL_SOC_SSC_PDC=y || (SND_ATMEL_SOC_SSC_PDC=m && SND_ATMEL_SOC_SSC=y)