From patchwork Sun Mar 24 06:24:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alyssa Rosenzweig X-Patchwork-Id: 10867343 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BB1791669 for ; Sun, 24 Mar 2019 06:24:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 96EF52982E for ; Sun, 24 Mar 2019 06:24:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 879F929883; Sun, 24 Mar 2019 06:24:53 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F147F2982E for ; Sun, 24 Mar 2019 06:24:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=wqKbjQwXTQYXWMvpfcb8B4UgFYg0fJOwnUygJaesFSQ=; b=t/NRl9ie/9yNZ4 uYcENgDksf4HuKL6sauiI0k+KwU/K/A56vHmcYpm3Aj0NW9g4aVxmmnzglKdGASv4ur8vDetkoDhO iqAc9ykXLFQOD6qRQN+fQrzDHTg8BKw00etZhXSfF1uzmePg1+hldAyudtKLkrbapznwa+or1WJXg k8NyN17FIy170RwQ1/E/Tz+kPl6iJ0SRNq3fc4lEWFQQBf/S9uJCBV3wltz/yxUGI+bEBDnZYPYhC wMjki5HESE+frgffwplObeFsNLMz4yF0La/EhjM2jJ3HKBqUtmfM9ZIxs0UC9pLhSG6U5CFVoUsjj XxRlTKUkImJ+R4kyJelw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h7wYq-0004BO-Tz; Sun, 24 Mar 2019 06:24:48 +0000 Received: from rosenzweig.io ([107.170.207.86]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h7wYn-0004AT-8R for linux-rockchip@lists.infradead.org; Sun, 24 Mar 2019 06:24:47 +0000 From: Alyssa Rosenzweig To: linux-rockchip@lists.infradead.org Subject: [PATCH] ASoC: rockchip: Select DMA_PL330 by RK3399 audio Date: Sat, 23 Mar 2019 23:24:33 -0700 Message-Id: <20190324062433.2369-1-alyssa@rosenzweig.io> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190323_232445_303642_F8EF3E23 X-CRM114-Status: UNSURE ( 5.37 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Heiko Stuebner , Alyssa Rosenzweig Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Without the appropriate DMA controller selected, the RK3399 audio drivers compile but fail immediately. Accordingly, selecting the RK3399 audio without the corresponding PL330 controller is an invalid configuration. Prevent this by an appropriate `select` directive in the Kconfig. Signed-off-by: Alyssa Rosenzweig Cc: Heiko Stuebner --- sound/soc/rockchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/rockchip/Kconfig b/sound/soc/rockchip/Kconfig index 957046ac6c8c..fa3cab461a60 100644 --- a/sound/soc/rockchip/Kconfig +++ b/sound/soc/rockchip/Kconfig @@ -73,6 +73,7 @@ config SND_SOC_RK3399_GRU_SOUND select SND_SOC_RT5514_SPI select SND_SOC_HDMI_CODEC select SND_SOC_DMIC + select PL330_DMA help Say Y or M here if you want to add support multiple codecs for SoC audio on Rockchip RK3399 GRU boards.