From patchwork Wed Nov 21 02:08:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 10691537 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 3144313BF for ; Wed, 21 Nov 2018 02:08:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1C5AB2B065 for ; Wed, 21 Nov 2018 02:08:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 103EE2B09E; Wed, 21 Nov 2018 02:08:37 +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.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,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 E7F422B065 for ; Wed, 21 Nov 2018 02:08:35 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id DCB11267947; Wed, 21 Nov 2018 03:08:33 +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 F1981267961; Wed, 21 Nov 2018 03:08:30 +0100 (CET) Received: from JPN01-TY1-obe.outbound.protection.outlook.com (mail-eopbgr1400113.outbound.protection.outlook.com [40.107.140.113]) by alsa0.perex.cz (Postfix) with ESMTP id 28730267936 for ; Wed, 21 Nov 2018 03:08:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesasgroup.onmicrosoft.com; s=selector1-renesas-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1aXJvgmUVGvU7VCzuHbDljkxPUd8AS8PNUAnn6INUdE=; b=PhJ21D5OoTeY0Me39SMK9Z/Yk90HgIdc7vjdWqa311zoOaGy+0R5p/eu7npzFwOl4IJ/Y/B09JPh08GFf3HQAAX6Cj02nBuajO4ca4wTn6oyk/bTHoXsA9JbDJeu3ZhXobtZtnS9DCtUB0Cx3WyDhH3s+0/5Ft45XiQOg54EnMw= Received: from TYAPR01MB3328.jpnprd01.prod.outlook.com (20.178.136.81) by TYAPR01MB3661.jpnprd01.prod.outlook.com (20.178.137.210) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.45; Wed, 21 Nov 2018 02:08:20 +0000 Received: from TYAPR01MB3328.jpnprd01.prod.outlook.com ([fe80::19d4:7f22:a842:9f67]) by TYAPR01MB3328.jpnprd01.prod.outlook.com ([fe80::19d4:7f22:a842:9f67%4]) with mapi id 15.20.1339.027; Wed, 21 Nov 2018 02:08:20 +0000 From: Kuninori Morimoto To: Mark Brown Thread-Topic: [PATCH 0/4] ASoC: merge audio-graph-scu into audio-graph - step1 Thread-Index: AQHUgT8Tf1tu/dOb3Eyhal6Oqggn4Q== Date: Wed, 21 Nov 2018 02:08:20 +0000 Message-ID: <87wop7p4wk.wl-kuninori.morimoto.gx@renesas.com> Accept-Language: ja-JP, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: TY1PR01CA0151.jpnprd01.prod.outlook.com (2603:1096:402:1::27) To TYAPR01MB3328.jpnprd01.prod.outlook.com (2603:1096:404:bb::17) authentication-results: spf=none (sender IP is ) smtp.mailfrom=kuninori.morimoto.gx@renesas.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [211.11.155.130] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; TYAPR01MB3661; 20:z9XzwX4P76cF3HFYBVgE+MdWuTWotx/H6wUGfP6FiIDFNRd2BVItcDiSzjfFD+fkxv0LEAmcU2Yp/wQ66WelCB/zA8o/IQuEzNWanRPo51OniqfnZUDwWsaaRNN6AmayiIf/xoRbAvC2Sf3ShoirVtnI0l0of8uc8gRHQE7UgLE= x-ms-office365-filtering-correlation-id: 452bf21e-f35c-4797-0bdf-08d64f56358d x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390098)(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:TYAPR01MB3661; x-ms-traffictypediagnostic: TYAPR01MB3661: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231442)(944501410)(52105112)(10201501046)(3002001)(93006095)(93001095)(6055026)(148016)(149066)(150057)(6041310)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123560045)(201708071742011)(7699051)(76991095); SRVR:TYAPR01MB3661; BCL:0; PCL:0; RULEID:; SRVR:TYAPR01MB3661; x-forefront-prvs: 08635C03D4 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(136003)(376002)(366004)(346002)(396003)(39840400004)(199004)(189003)(8936002)(186003)(102836004)(81156014)(386003)(52116002)(81166006)(99286004)(8676002)(6506007)(316002)(66066001)(71190400001)(6116002)(3846002)(36756003)(71200400001)(105586002)(2900100001)(106356001)(26005)(53936002)(486006)(2616005)(476003)(256004)(14454004)(4326008)(6436002)(68736007)(6916009)(6486002)(86362001)(7736002)(97736004)(478600001)(2906002)(6512007)(305945005)(5660300001)(25786009)(21314003); DIR:OUT; SFP:1102; SCL:1; SRVR:TYAPR01MB3661; H:TYAPR01MB3328.jpnprd01.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: renesas.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 6EI9oTk2xcr4UeJ0hJDZNmlwmlKpqjDXO8irYb5D4XcYvnjEXPj0gsstD9ttNRFRCs1aQhh1Am4z1CfjPMNLPQNc42iCwfkyi8xubeCpSH25JfhQ2a/vr5hYYuPkUfznX49j6WeibXd1wR+cK4kJTs85LhDh+PfvqsFPW1zmHsvAvHVDlo0f29/p13pcamgYPd0MAhyHMxEwANCQnRE/g6t5a1zYeuSb+U1H0Bnq2tYPeLKEGxbp3uxWaX1faXaxK8daOUzYmPoD1oZyi4qIWnUSobuT1EHlNBnJNkWg/UTDfdKHhcu/40B2oH7mxaHe72qjioSyxZdx0YNdCG5hwgw9udOouSKcr1JJAAO/2uE= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-ID: <30B8F9EA9E2FF5498FD73818DA1AC19C@jpnprd01.prod.outlook.com> MIME-Version: 1.0 X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 452bf21e-f35c-4797-0bdf-08d64f56358d X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Nov 2018 02:08:20.5963 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYAPR01MB3661 Cc: Linux-ALSA Subject: [alsa-devel] [PATCH 0/4] ASoC: merge audio-graph-scu into audio-graph - step1 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 audio-graph card can handle normal sound card, and audio-graph-scu card can handle DPCM sound card. But, we can't use these feature in same time now. ex) audio-graph can handle normal sound card CPU1 -- Codec1 CPU2 -- Codec2 audio-graph-scu can handle DPCM sound card CPU1 --- Codec1 CPU2 -/ But, we can't use these in same time CPU1 --- Codec1 CPU2 --- Codec2 CPU3 -/ So, this is the time to merge audio-graph and audio-graph-scu. The patch-set are a little bit huge (and few patches are depend on posted OF patch. I'm now waiting...), thus, I separated these into few steps. This is step1 as prepare merging. I think it will be 4 or more steps. "simple card" and "audio graph card" are similar sound card, and now I'm focusing to "audio graph card" merging only. Basically simple-card and simple-scu-card are similar too, and we can merge it. But I have no plan for it now. Please try it someone ;P Kuninori Morimoto (4): ASoC: simple-card-utils: remove asoc_simple_card_clk_register() ASoC: simple-card-utils: accept NULL parameter on asoc_simple_card_xxx() ASoC: simple-card-utils: tidyup asoc_simple_card_parse_convert() ASoC: simple_card_utils: remove "option" from asoc_simple_card_of_parse_routing() include/sound/simple_card_utils.h | 6 +++--- sound/soc/generic/audio-graph-card.c | 2 +- sound/soc/generic/audio-graph-scu-card.c | 4 ++-- sound/soc/generic/simple-card-utils.c | 34 +++++++++++++++----------------- sound/soc/generic/simple-card.c | 2 +- sound/soc/generic/simple-scu-card.c | 4 ++-- 6 files changed, 25 insertions(+), 27 deletions(-)