From patchwork Tue Dec 18 02:54:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 10734657 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 9CEC96C2 for ; Tue, 18 Dec 2018 03:32:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8C56228AF4 for ; Tue, 18 Dec 2018 03:32:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 80D1F2A74F; Tue, 18 Dec 2018 03:32: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=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham 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 F097928AF4 for ; Tue, 18 Dec 2018 03:32:52 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 132102678D4; Tue, 18 Dec 2018 03:55:06 +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 0B5862679F3; Tue, 18 Dec 2018 03:55:04 +0100 (CET) Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by alsa0.perex.cz (Postfix) with ESMTP id D718926782E for ; Tue, 18 Dec 2018 03:55:00 +0100 (CET) Date: 18 Dec 2018 11:54:59 +0900 X-IronPort-AV: E=Sophos;i="5.56,367,1539615600"; d="scan'208";a="3099549" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 18 Dec 2018 11:54:59 +0900 Received: from morimoto-PC.renesas.com (unknown [10.166.18.140]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 26ECE423AF28; Tue, 18 Dec 2018 11:54:59 +0900 (JST) Message-ID: <8736qv364x.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto User-Agent: Wanderlust/2.15.9 Emacs/24.5 Mule/6.0 To: Mark Brown MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Cc: Linux-ALSA Subject: [alsa-devel] [PATCH 0/9] ASoC: audio/simple card tidyup/cleanup 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Mark We could merged normal sound and DPCM sound on audio/simple card. This is nice, but I noticed few issues. 1) : for "reg" property issue, again. 2) - 5) : missing 1CPU-1Codec DPCM case, and cleanup for audio-graph 6) - 9) : missing 1CPU-1Codec DPCM case, and cleanup for simple-card Kuninori Morimoto (9): 1) ASoC: simple-card-utils: check "reg" property on asoc_simple_card_get_dai_id() 2) ASoC: audio-graph-card: add asoc_graph_card_get_conversion() 3) ASoC: audio-graph-card: add 1 CPU : 1 Codec support again 4) ASoC: audio-graph-card: cleanup DAI link loop method 5) ASoC: audio-graph-card: reduce naming prefix 6) ASoC: simple-card: add asoc_simple_card_get_conversion() 7) ASoC: simple-card: add 1 CPU : 1 Codec support again 8) ASoC: simple-card: cleanup DAI link loop method 9) ASoC: simple-card: reduce naming prefix sound/soc/generic/audio-graph-card.c | 461 +++++++++++++++++++--------------- sound/soc/generic/simple-card-utils.c | 14 +- sound/soc/generic/simple-card.c | 453 +++++++++++++++++++-------------- 3 files changed, 544 insertions(+), 384 deletions(-)