From patchwork Thu Jun 8 06:48:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 691214 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 952B6C7EE23 for ; Thu, 8 Jun 2023 06:49:51 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 70057820; Thu, 8 Jun 2023 08:48:58 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 70057820 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1686206988; bh=soE74QspTnfSgFer54Ejzyt6MVaAcTTqE/rNKlhhqMU=; h=From:To:Cc:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=J06ZviNs+/j2Skj0mds/Z4mi3jpDTiIVz0QRACdS/9rfPfkNb1CZXPXwnET0pTFcl /S7O8QIzlXV4fBi2ZEanvGIQSknfJMdgVM7hdjgQac4khTcAltKw0zDlRsxjDfY5dI n3MR32bk8Bc0eCkzI0jk0LTlsfDcvinECds6SOMs= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 98CA2F80254; Thu, 8 Jun 2023 08:48:35 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 153F4F80199; Thu, 8 Jun 2023 08:48:35 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id B865DF80199; Thu, 8 Jun 2023 08:48:31 +0200 (CEST) Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on2070e.outbound.protection.outlook.com [IPv6:2a01:111:f403:700c::70e]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id F3634F800ED for ; Thu, 8 Jun 2023 08:48:25 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz F3634F800ED Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=renesas.com header.i=@renesas.com header.a=rsa-sha256 header.s=selector1 header.b=o0/Plu8Q ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cDW4awpLsrW8LAYQMcUSykJYc5jdKNcIR7q4CD3ESyZ2V3hEUFGaZmVgKRns3lAnJ92Eq2VrihDToS0Yl5JOWP3t7MrJO+9/glU5QdsaRYcXgFqKMpUaxKQvD63KfGa3aUOOg6nLgXxyVwerq8seBSxfAuVwZ5QRowUfVJiMO+cC3bmFMfP2ywbEtFcpkTV/nJEs+c3bWR2zcGWslphtP1DQP4NPBBMAA6ZhdYNytXE2LrLKnpPwR2neWAwBftKo2d2MifQIWN3faaPBTW0vwD/EywybPWv6g73LYVu/YRTtkuBpznAc/hGfDJSR+aYJ7qv7bSrJiu5vjbQH1OgSrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=UfwPS+k6MlCacj2NE84aqB3AtFdqVGpkz6PMBf2Qi8E=; b=NUjEQtoRnJB4OoBM/qugj5kBotiSi38NTFjuRiSOr8ncQDjjzUVLwdEYSGSup9rsV+PDiltBQKWe/Vx7VuTV0aYldkRu6Ty99GUrcT2DITLwcPOsum8E3G3DdPPE6rM3ZCUZ6dCxtBMHjphmUo9zXIgN88xJByH1BOGfTPFZLlSernpnO3NBNmNZgpmQjl62BSzdKs7XotEh8dzbl9vq/NI0X+LAo1bX/RV37bkh7ShdxirGnIckiTiEhte51ySm8tVTVtqOs0LCdzmBSA16qk7H0+sNa0nCBopiH57JhPekw9gzqZdfoIw+kWu+DbIh8t2+CTq6asD+4I0L21wIYQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=renesas.com; dmarc=pass action=none header.from=renesas.com; dkim=pass header.d=renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UfwPS+k6MlCacj2NE84aqB3AtFdqVGpkz6PMBf2Qi8E=; b=o0/Plu8QeHIOUAKZrvKu3l5PopcMLT/SMk+yaoPOwlad+W5Z61b6PPwX/8XzKiEfNm266xUxu6AhwFvRKwOlcDAsP3kmDv6HpnF7oOw37AhjoQ3m2SnQXfH4SRzZlHvYA1bxb3mEWejs37/Ddlr7U3tPb/mX2NfiwVCDbcLqQEY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=renesas.com; Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) by TYCPR01MB11864.jpnprd01.prod.outlook.com (2603:1096:400:3e0::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.33; Thu, 8 Jun 2023 06:48:18 +0000 Received: from OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::91e7:a94f:9f75:d840]) by OS3PR01MB8426.jpnprd01.prod.outlook.com ([fe80::91e7:a94f:9f75:d840%6]) with mapi id 15.20.6455.030; Thu, 8 Jun 2023 06:48:20 +0000 Message-ID: <87sfb2fo0d.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto To: Alexandre Belloni , Claudiu Beznea , Jaroslav Kysela , Liam Girdwood , Mark Brown , Nicolas Ferre , Takashi Iwai , Vijendar Mukunda , Walker Chen Cc: alsa-devel@alsa-project.org Subject: [PATCH v2 0/5] ASoC: add new trigger ordering method User-Agent: Wanderlust/2.15.9 Emacs/27.1 Mule/6.0 Date: Thu, 8 Jun 2023 06:48:19 +0000 X-ClientProxiedBy: TYAPR01CA0009.jpnprd01.prod.outlook.com (2603:1096:404::21) To OS3PR01MB8426.jpnprd01.prod.outlook.com (2603:1096:604:194::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: OS3PR01MB8426:EE_|TYCPR01MB11864:EE_ X-MS-Office365-Filtering-Correlation-Id: 678b73fb-4a4c-4c41-1803-08db67ec588a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: CZ97QZSELqXcobaAc6QBjQRwAISesKmFdd3lndLv+XM2k7qfUcATixkEs7C3Ueguq/g9hfN2ApwkBHbNhRDxgmUDsBX4Kj3g6D9zyuJ8renV43IX49Deu6ak9FpxB/AuR15bDU+sGz+PNXQ1XLXNYKe0yz7KRtx9dd9bWgH41aN1AHK2YLiuY5XMJ38JOk/Udb6BxOHZEslsCNE6sIzcL1yZBfUWrPU6WciMedk5Lfoy1GwJTf9gnmxlWuqRtH7LidVH8OTiGgJFEiZP9X+f22CMd2ej2JZypaEjd62BZysdZxzZo5paWubhvQvnGN+GoAxTRm6kpPySeH4TGascztl3qO9jTk9jOVvRGvagkhRtY5xEZv5obrEXzkGeGQ+pfP30D3SEh0eMLQO1gKzm59jTiaC5HwBmY+xRPcHElTQzHy6JC7dh7FE8i1eyPGFOGmnVlSl+KcKKTwFsGX5qxBXxN2/SOEa0wz87zFrWV17rTG/I2BiSbx+VGpe7VhhwRL3bkHAgl12WNwYzm/AbuwIEi2ElkFnNAJ32FQzAF2vKdmcwkqtJh7xQpBsMVSyIuLfwUJC3HqZluV161Bndh+YJV9Rs+1OaEiR7VtON/9E= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:OS3PR01MB8426.jpnprd01.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(39860400002)(136003)(346002)(396003)(366004)(376002)(451199021)(66946007)(8676002)(4326008)(66556008)(36756003)(86362001)(6486002)(966005)(52116002)(8936002)(66476007)(316002)(41300700001)(83380400001)(7416002)(5660300002)(2906002)(478600001)(4744005)(110136005)(38100700002)(186003)(38350700002)(2616005)(6512007)(6506007)(26005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: FJCDXILca/SeM8cOA/1SDC2VEuYFxquEIIM1GH86lICL8QovgFfbrOyGnMNJUbbAJMcJOH94H3bFviCq23v6QKdoBxzuBpkWnCf8shpWX0yXeEfazHEwOfj6R7w248jteyeTzWzPQ4a2L5O4sgk3l7ZWXG5EFIyYdKlSm09cqzW226bbSDsDhv/qmUN6J9esNwj0/09m0ZJeCYdKFvEFhlrtPhmMRxxFIXRRqwHPajcXsT0WElVZ8kulJNyPgdC2oRL1ZuEtqzylEoSQBsoCX+Ff4NTBx7WcDPoefHP6tQMSPYuCJGUq6a43bliIOYDnyZtSL5pFAnj7q5NtwEK/1JVovuE2661uAXNpTZ7ZfH4ST+Qs0prG7X3Z6y4adWhCR/mUvdqfGlCQGpFuINO2pg+Rod9xEISt8EN3pmLTTuFnMN3ab8My9KdFrBz+U1SrU2B3W61ezTCoIS5Yarm/0V83pzxQlq9Yc4P4WVvHhyauYS1+/PoY4tFh/xi7LMkE4qy/aXDVsrBcnUy/9SyssPPfrc3mY1hLLhMS+QOhQxON1g6GExcdeQiuoyVNLSdN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ginatorOrg: renesas.com X-MS-Exchange-CrossTenant-Network-Message-Id: 678b73fb-4a4c-4c41-1803-08db67ec588a X-MS-Exchange-CrossTenant-AuthSource: OS3PR01MB8426.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jun 2023 06:48:19.9707 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: +OWXCOLicIQEMDMhusGsa8EMLPt4XDjTlu1IRFpou4a6LHQiucFZYvQGqlDkJeNUjha6A0Ygssnr/rwCrirdjyfBdr2pbTOZ6s70OXEELq7F5qA7tYd6tQdHKBw0j5Mg X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB11864 Message-ID-Hash: U4M3OVOU6VZXQOXVVCZEY4IKXHTRLP22 X-Message-ID-Hash: U4M3OVOU6VZXQOXVVCZEY4IKXHTRLP22 X-MailFrom: kuninori.morimoto.gx@renesas.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Hi Mark This patch-set adds new "trigger" starting/stopping method. Link: https://lore.kernel.org/r/874jnihm8y.wl-kuninori.morimoto.gx@renesas.com v1 -> v2 - tidyup const vs static - care missing starfive Kuninori Morimoto (5): ASoC: add new trigger ordering method ASoC: amd: use use new trigger ordering method ASoC: atmel: use use new trigger ordering method ASoC: starfive: use use new trigger ordering method ASoC: remove old trigger ordering method include/sound/soc-component.h | 11 ++- include/sound/soc.h | 23 ++++-- sound/soc/amd/acp-da7219-max98357a.c | 20 +++--- sound/soc/amd/acp-es8336.c | 2 +- sound/soc/atmel/mchp-pdmc.c | 2 +- sound/soc/soc-pcm.c | 104 ++++++++++++++------------- sound/soc/starfive/jh7110_tdm.c | 2 +- 7 files changed, 93 insertions(+), 71 deletions(-)