Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp3440218rwe; Sun, 16 Apr 2023 20:29:18 -0700 (PDT) X-Google-Smtp-Source: AKy350b3YrqmXAL7Bj5Y1MB+auH3K5/0j7+EMx0D6eP4PADSGS0kJ3Dc9BGCTMxUDod3b12/6w8/ X-Received: by 2002:a17:903:2d2:b0:1a6:c6d4:5586 with SMTP id s18-20020a17090302d200b001a6c6d45586mr3863871plk.13.1681702158156; Sun, 16 Apr 2023 20:29:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1681702158; cv=pass; d=google.com; s=arc-20160816; b=pxPikwcOiB9ymuKvDYZRCgmn/24WeqxAFb4rrowZBK+S4ZJ34rI8jMf4NolqeqBn/n wXOKT73A8Bu58oMv8QBLAu/EzCg9YLEB/Naiz+p+fzlRnN8ebn2EuggdhlEXEtvC+1Fl /l+/PdciDak3tlHbwqSIMlHNmkzQHNOHW5N/fwRB/KalLjZkJ00artT5oA1HFZCMoJXZ YRRy765Z1FArZvgr3NGlT61PcZMbHqHpUmhE+xRccGV7kBxC8pJAsuiGGy4/rEkZlSDg fJ59lML2PYs2DgnjkEaVDwwOq0vaWEfUxy9aWdHvnDsuYjN0cFS6WoarQreEcalQ9FQU VAlQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature:dkim-signature; bh=Y7qmAhb6VsFtseLci8xkGRlrVdW9a7zOyhwkPBgV+tc=; b=aCcTeqVw6Fc0+Aeo75QLSgFASrJ0vQ1eZ1vwzAqGHOR/ODAYJEkz817YGfp0p7FDKq RfPBXacXn3IM/YREN7z+ZsyJRRfWe3MgAJKfNsuQTDK6JPCTfH0cFEEBKSxFyNfq78id rzqVRA8C8khDwzSSdEheQxY5WoT+4/Dtkx+m0wvznswUFZqie28bE/xbticlmj9exnnu MdiIaW3yH27/h61k8bBt1Dox0qx/RL+FC4afhME2BBdyYKRnXT5OlLrNHr61e+ljXIN6 8ZtdHbMgLuyisOW7dG1/p/ZZ6d0OqE4FAwngZ0J+PPZfbSF3zIat60EQyMYkFx9flk7p BdOg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=LUkii2Hv; dkim=pass header.i=@mediateko365.onmicrosoft.com header.s=selector2-mediateko365-onmicrosoft-com header.b=YzzQBPTt; arc=pass (i=1 spf=pass spfdomain=mediatek.com dkim=pass dkdomain=mediatek.com dmarc=pass fromdomain=mediatek.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f10-20020a170902860a00b001a647aadbeasi5251636plo.416.2023.04.16.20.29.05; Sun, 16 Apr 2023 20:29:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=LUkii2Hv; dkim=pass header.i=@mediateko365.onmicrosoft.com header.s=selector2-mediateko365-onmicrosoft-com header.b=YzzQBPTt; arc=pass (i=1 spf=pass spfdomain=mediatek.com dkim=pass dkdomain=mediatek.com dmarc=pass fromdomain=mediatek.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230112AbjDQDLF (ORCPT + 99 others); Sun, 16 Apr 2023 23:11:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230072AbjDQDKx (ORCPT ); Sun, 16 Apr 2023 23:10:53 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A3331986; Sun, 16 Apr 2023 20:10:48 -0700 (PDT) X-UUID: ea909b2adcca11edb6b9f13eb10bd0fe-20230417 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=MIME-Version:Content-Transfer-Encoding:Content-ID:Content-Type:In-Reply-To:References:Message-ID:Date:Subject:CC:To:From; bh=Y7qmAhb6VsFtseLci8xkGRlrVdW9a7zOyhwkPBgV+tc=; b=LUkii2Hv2KoyKH3G2dXMonywXga+aA08TQmaLpd5b2yiSSZycGCvkOWtOc8554HhhJGAKACvzlwsds/VmbW30UxOo3Ea5LtRRwbSk+gRSoTPH1wvGAM+BKtZPl09Dn0S4bcpDTxtYngwe0r6Cdxqp9DSkLC5UybkV0Ot3BlK6Fg=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.22,REQID:0600209a-ded0-4197-b767-5d8b6062f09e,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:120426c,CLOUDID:3a774184-cd9c-45f5-8134-710979e3df0e,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-UUID: ea909b2adcca11edb6b9f13eb10bd0fe-20230417 Received: from mtkmbs13n2.mediatek.inc [(172.21.101.108)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 868492570; Mon, 17 Apr 2023 10:52:39 +0800 Received: from mtkmbs10n1.mediatek.inc (172.21.101.34) by mtkmbs13n1.mediatek.inc (172.21.101.193) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.25; Mon, 17 Apr 2023 10:52:38 +0800 Received: from APC01-PSA-obe.outbound.protection.outlook.com (172.21.101.239) by mtkmbs10n1.mediatek.com (172.21.101.34) with Microsoft SMTP Server id 15.2.1118.25 via Frontend Transport; Mon, 17 Apr 2023 10:52:38 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iRWvzi4wEcMHn7bS47cWw3I+qCS8aU+YcdDlv/KxHtvoDwjF2cxA6ps/BQDqIikaC1FtNfzxeZSwoXksIPeNk3rZIAZElwNYDR0jKV/oaeHy/198ljMuxngxPj5MiTeBXWtQFB8DUYOv58NZLYEEDu9JkmZzboZ7AQpnkurFJVs/gcLgSP9nI+NDDpNJ5ti9YNLx276plqlRuZjnlz9gP/IStkDDEPuGwCXhNpMjUmyFjm/hjnhgc+ILVSnmmEQdGnbZqsGRsZ4D5Y0XwORQL7lxM3emdqm98rO+E+hZIE9ECvhr5TWzrfX+rM7T+g/OBdWnhat/gMiBQKqO9JfJWA== 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=Y7qmAhb6VsFtseLci8xkGRlrVdW9a7zOyhwkPBgV+tc=; b=Mp9e5MF6op5sY98K3dazHICeMc+4fW6zL/2/Tqkz+mmRupSveRDca1vA/F0fyVJ1NU3jAezbKermx5v33uLwmmPVZF7fWivWaGqnuCf7UTfDwUimIN+fHL2thhfi67zIX5gWRcq4R3hUeOxtzp5VUtEFFwngFMCyFRlSbK3gpWWKCxAzpks0TJkxcWPJxvwawQNY2EVwpy2JPWKc+4CwUXY6zHrtkjmEWvEP7M1IdzN4Pa0uUTfqnFG318/5MoYcAsV9bJFxOSJ1CWppdhBl/xuj8sR4bq96mYGWexnq7+Aqx9rERcFVthkdPjWzxZBTxK+erA1RqGW9Ynns2pXfTw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mediatek.com; dmarc=pass action=none header.from=mediatek.com; dkim=pass header.d=mediatek.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mediateko365.onmicrosoft.com; s=selector2-mediateko365-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Y7qmAhb6VsFtseLci8xkGRlrVdW9a7zOyhwkPBgV+tc=; b=YzzQBPTtvU1KAQsRXj3DIkqE+m3n/GZVhsrDnQF8rju6kcWvCksUBc9/vM1bnyB59s4i+hG2evdW+nERRj/WjY1TdDejvfb0wTNRuGOHPSWdETtiZnW/G2q/Et5AHQUr/so+9C5dmybwBuKI+OVRW9J5980nitJq+lAVo/lvYsQ= Received: from SI2PR03MB6686.apcprd03.prod.outlook.com (2603:1096:4:1e9::14) by KL1PR03MB7198.apcprd03.prod.outlook.com (2603:1096:820:de::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6298.30; Mon, 17 Apr 2023 02:52:36 +0000 Received: from SI2PR03MB6686.apcprd03.prod.outlook.com ([fe80::bfa:5a41:b6e1:63de]) by SI2PR03MB6686.apcprd03.prod.outlook.com ([fe80::bfa:5a41:b6e1:63de%3]) with mapi id 15.20.6298.030; Mon, 17 Apr 2023 02:52:35 +0000 From: =?utf-8?B?VHJldm9yIFd1ICjlkLPmlofoia8p?= To: "robh+dt@kernel.org" , "broonie@kernel.org" , "tiwai@suse.com" , "lgirdwood@gmail.com" , "krzysztof.kozlowski+dt@linaro.org" , "matthias.bgg@gmail.com" , "perex@perex.cz" , "angelogioacchino.delregno@collabora.com" CC: "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-mediatek@lists.infradead.org" , "alsa-devel@alsa-project.org" , "devicetree@vger.kernel.org" Subject: Re: [PATCH 3/7] ASoC: mediatek: mt8188: revise ETDM control flow Thread-Topic: [PATCH 3/7] ASoC: mediatek: mt8188: revise ETDM control flow Thread-Index: AQHZbfVXHv1qNhspr0S8mreZJU45ZK8pOLuAgAWarAA= Date: Mon, 17 Apr 2023 02:52:35 +0000 Message-ID: <228e990dcb46d5640f03deeeec720f6a4d4715b3.camel@mediatek.com> References: <20230413104713.7174-1-trevor.wu@mediatek.com> <20230413104713.7174-4-trevor.wu@mediatek.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Evolution 3.28.5-0ubuntu0.18.04.2 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=mediatek.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SI2PR03MB6686:EE_|KL1PR03MB7198:EE_ x-ms-office365-filtering-correlation-id: e763fec2-7968-4c99-1cb1-08db3eeecc68 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dJ4wN/P2WtSLcBZxr26ZPxmJ7qt4piR5KJ4O3GOGT1chMEYHXswh/CNgmPx7mYhI6lRxs1wmAX+F4K7L7G3QvgtkSiaooW8KZz0UEhKWmb4s2cOTIQVK6N9AhARl5amo4NHFPJrlXvVpwksxw7WzohyUay1YbJ4r+AmbAHbcV8+oyFQ4CbUpBOqkm8oFeYc2bEdjrZb4RkzORRH0PYBJcTVNrbykxTlBU51KfCkzyXllNBVRjydYTEgXF+N8DeQ0Z52Oash3IaKjMOIQAy6Q+w8MnjPOeFU5VDod6wI1511orPjebNmjn7bVrQo+ZRZQH9xej1btKbHkfrKeDTmKuRqMAi7AcuFlOk7MaBPG97W5d0FFcOsHqsS09EfjSK8g94nohJhOYdKW0mJvJ2TkpFNsIi1QB2x1lcq1K74IUuY3ASCHtEUNE+B0OcSATUOf/r/IN1EcM8MfiJMreUm1RIPPXmcHhk6IUvFMt88d4aiAEQ1INacl2yPm5b/dc40I9thfg2GTp0kd+JHWNr2K0OR2kbetjJic8rff+pRisPfkekbpnsL0x3h05EzvWMO0iPfRZmGgXrAn0z87szIDpHNg8NN9krtwJLbOMXSaLWpO7hcOkf9M/lYrZ886bkOkmWRh5GDpvVhVMhX8jgRZ4A== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SI2PR03MB6686.apcprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(39860400002)(376002)(346002)(366004)(136003)(396003)(451199021)(6486002)(54906003)(86362001)(110136005)(478600001)(71200400001)(36756003)(2616005)(85182001)(26005)(6506007)(38070700005)(38100700002)(6512007)(186003)(122000001)(316002)(4326008)(2906002)(64756008)(66446008)(66476007)(66556008)(66946007)(41300700001)(91956017)(76116006)(8936002)(8676002)(7416002)(5660300002)(99106002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?TFMrK0ZiYU9WUlY1dGxQcktZbXR5YXZ3TFVPK09makxZcTF0ak5Ba1ZSbTZT?= =?utf-8?B?WGF4UTk3cjRLVEdkbHlubE9EeXEzWlJzNlJ3RXdyeGx3M1FFR0xOb0RzeHh6?= =?utf-8?B?YlhyRTlQMlhLZTcwSXVxeGsvR2F0OFNBOUZtaWpaeVkwd0JPektUL2RzSVdu?= =?utf-8?B?Z2pVQTZTYVFIVDR2Vkwrc3RHNzRmdXlVT2RZQnlSMk1DUzhYbEhtcGZnQ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QnBJS3htS3cxc1lCWkdHclNMbHp6RWUrbXJaWlBBZ3BqdmFD?= =?utf-8?B?bFVpUksyc2VoUEZLUnVSOGxSMHF1UTM4M2dTZEw2amowcFVRQWpZRXptQVd0?= =?utf-8?B?R0sySWpYa200UmlsL1JIQUIweW9NUUNpZlZKbFl4QTY0WmpNOUxJVTVVMjE2?= =?utf-8?B?SkE9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SI2PR03MB6686.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e763fec2-7968-4c99-1cb1-08db3eeecc68 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Apr 2023 02:52:35.5180 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a7687ede-7a6b-4ef6-bace-642f677fbe31 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Qro/iKU2yS2toPCChtHSGRRnDISMtM6s3HflsTmB1FFhO+FVFxgK6EYy61CfcpDw+e9w1RI9n+zX8UNZduzjJg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR03MB7198 X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVGh1LCAyMDIzLTA0LTEzIGF0IDE1OjE3ICswMjAwLCBBbmdlbG9HaW9hY2NoaW5vIERlbCBS ZWduby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