From patchwork Sat Nov 10 15:18:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Katsuhiro Suzuki X-Patchwork-Id: 10677347 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 0231813BF for ; Sat, 10 Nov 2018 17:03:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E54B02C82D for ; Sat, 10 Nov 2018 17:03:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D8D9D2CA76; Sat, 10 Nov 2018 17:03: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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 6F4B02C82D for ; Sat, 10 Nov 2018 17:03:53 +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=tjf0xnVAxSNR5WdMH9DY4BBYfCu8t/pFecGhHfl2V84=; b=EPxYkY9ApxkvnN fGLR831dEaAC2wHXA5sQKHofexID/LLU7L/TxBu+IqCakvnAvmQPt+/oAkbeduPbEeA8pfKFf20iG DiUgm09OLZFJ9prBxF/GUxWwq3Bs9B/7pJ1Yoer2l2cwQLg8iTICNNJTCE35hiwsZBzVnWYdHFGkI HdYtlzsA4Zb+CnUcAxzOc4fdCc3NVr9o2qkdv3Bd5ZOJheA3tScRSddprQfXAfLyrtMBMVmH+Wgyr hx8+Y8DoPL4Uf9XJfq+/ZUZOshF9SrT5BVYKPVzlYBJBqKuJMk6/y198P3LOj7NSvzlKu7CoCIYbk Ce8krfNrzv31JGReYRPw==; 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 1gLWfn-0000lj-94; Sat, 10 Nov 2018 17:03:51 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gLWfl-0000hZ-Bp; Sat, 10 Nov 2018 17:03:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=JxASM8u4DiunSGGbg4iCmWf/ZOiBHvfc6L3v6Pr+ZmA=; b=t2yBrv2+88ZfPRXS7na2KJ0AVk WxTGMoSo78zZpMTGy92CMIQtF5hTsif1VzHNZGTTO9wO3NI2wNlgEIkP++uIvbU1+zHKHtjATy+Fg MBtYlOtgY/7IBOA337JBzRAY4mc1wRNOYI7fNYuAA8Dy0uyLrQPT0mRQzGq49p2L2vWtXtf3NWFxi Evgjau2070Mh6sBLlSiwIsVdFx/UDW1taMlb/8Cwl0SCunnFhGy1WRiivKCN8UloJZ3uX41L22cyS 5BW6EQALE7u+VQ/bqWN4NlQQqgvtVxdgf94pzhMnrNK6kv6fmLbeKnTYc3FMqrEl7RNQsBzgB3S7d nIKjk4Ug==; Received: from www1102.sakura.ne.jp ([219.94.129.142]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gLWfh-0000JP-7t; Sat, 10 Nov 2018 17:03:47 +0000 Received: from fsav402.sakura.ne.jp (fsav402.sakura.ne.jp [133.242.250.101]) by www1102.sakura.ne.jp (8.15.2/8.15.2) with ESMTP id wAAFIokl077580; Sun, 11 Nov 2018 00:18:50 +0900 (JST) (envelope-from katsuhiro@katsuster.net) Received: from www1102.sakura.ne.jp (219.94.129.142) by fsav402.sakura.ne.jp (F-Secure/fsigk_smtp/530/fsav402.sakura.ne.jp); Sun, 11 Nov 2018 00:18:50 +0900 (JST) X-Virus-Status: clean(F-Secure/fsigk_smtp/530/fsav402.sakura.ne.jp) Received: from localhost.localdomain (199.247.151.153.ap.dti.ne.jp [153.151.247.199]) (authenticated bits=0) by www1102.sakura.ne.jp (8.15.2/8.15.2) with ESMTPSA id wAAFIkhD077565 (version=TLSv1.2 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 11 Nov 2018 00:18:49 +0900 (JST) (envelope-from katsuhiro@katsuster.net) From: Katsuhiro Suzuki To: Mark Brown , Liam Girdwood , Heiko Stuebner , alsa-devel@alsa-project.org, linux-rockchip@lists.infradead.org Subject: [PATCH] ASoC: rockchip: add missing slave_config setting for I2S Date: Sun, 11 Nov 2018 00:18:44 +0900 Message-Id: <20181110151844.21362-1-katsuhiro@katsuster.net> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181110_170345_797982_F27CB0D8 X-CRM114-Status: GOOD ( 10.72 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Katsuhiro Suzuki , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds missing prepare_sleve_config that is needed for setup the DMA slave channel for I2S. Signed-off-by: Katsuhiro Suzuki --- sound/soc/rockchip/rockchip_pcm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/rockchip/rockchip_pcm.c b/sound/soc/rockchip/rockchip_pcm.c index 9e7b5fa4cf59..4ac78d7a4b2d 100644 --- a/sound/soc/rockchip/rockchip_pcm.c +++ b/sound/soc/rockchip/rockchip_pcm.c @@ -33,6 +33,7 @@ static const struct snd_pcm_hardware snd_rockchip_hardware = { static const struct snd_dmaengine_pcm_config rk_dmaengine_pcm_config = { .pcm_hardware = &snd_rockchip_hardware, + .prepare_slave_config = snd_dmaengine_pcm_prepare_slave_config, .prealloc_buffer_size = 32 * 1024, };