Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp461986rwb; Thu, 22 Sep 2022 22:15:29 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4c4g5X3cXlf0qCFDEylj36x9/aanOVukbfH708GKvrxuCv87jjqUqJ6ttW+qRNCXDwU+68 X-Received: by 2002:a17:906:5a6c:b0:77c:c2db:63ab with SMTP id my44-20020a1709065a6c00b0077cc2db63abmr5523390ejc.431.1663910129763; Thu, 22 Sep 2022 22:15:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663910129; cv=none; d=google.com; s=arc-20160816; b=lBP+P+XOJM2Z4TQA7VT7wTi0xS5WxQ80vEPf5NbxE6O74fpZazyipZLTRSWiA0vO/u RP7E3zYYLNOv1+fLlYP/SeqpiDDsmOeuBPrg0A9zuI1AzeVnh50C4I2lvPDbL9ahOYQ4 p6pB606mGdYLDSrGLoDiSihXRfbcY3sWUfB214eZ3ovUz8OnECC4CbUhE9sGyUKF5C99 9TXmfp6vdhNfzCYgAkcXasXmMSn24+1m9NW+hLISymrU5gTo4VXgM63JNzVl3pzbk5dc wM+9ysVH0+F6z2v5bLyQ6hVRPZGbwKveYgi8S5A67iXU6FL90eC7tZwGyyViMMb/WAIy vSxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=1KZyGx1JqtxeTxG8MfIi+v7uhwTWWMglV+1MnUR2ayE=; b=b+NCnSMknk6M2ByKva2bXDzGyaeNVewgXxXdrPIWhbKEpu1uINSVTNUI2Ugw92ucvt CDGGi1B+jRaPAISuvNmM23tSDmJedYjqcW8lK+GEYjp5qxg+8Pzi09eVg4iA0bHgc60z cpcGDO09dkdEFWF75yxDM1/SbqdCMZOdIIhLHTpfsmKMCZt38EHAex+gZ71VJ5ahcK/l o+fxUC4nwkwhGLHkNY9CWeHE7yuFD98TF6/eR+BTQyYkop0NsZGpIQGiu8JQCNVyXor9 K0+Z5JZIYl1r4JMpAUiU00Qx4XVBpHi9NxIEsNiEy40n1HWrtg6tmgBm1csWIhhI5gic I9+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="TdXRbfZ/"; 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 sh38-20020a1709076ea600b0077cfdda438csi7305578ejc.35.2022.09.22.22.15.04; Thu, 22 Sep 2022 22:15:29 -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="TdXRbfZ/"; 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 S229867AbiIWEk1 (ORCPT + 99 others); Fri, 23 Sep 2022 00:40:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229938AbiIWEkH (ORCPT ); Fri, 23 Sep 2022 00:40:07 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6968715FE6 for ; Thu, 22 Sep 2022 21:39:58 -0700 (PDT) X-UUID: 487a28df31454b88850da2e2ac74aa34-20220923 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=1KZyGx1JqtxeTxG8MfIi+v7uhwTWWMglV+1MnUR2ayE=; b=TdXRbfZ/8IpUgA+lgxgn3KDZv+0j7EA5CWlc4TohCN8q+rZHaFNgrEY7V+31LDmlQrDDAODk9tPs7vKTjb8uosN+bowdeTcGP3dXobFf0JJWKfBEgtkEbWWOTcUzeov0ZfCj3qbXbrBvzFeJmxO3xusmM7zq42IjKXLmPmyPWOo=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.11,REQID:b6a5756d-ad41-4351-8341-83706ac362ae,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:45,FILE:0,BULK:28,RULE:Release_Ham,ACTIO N:release,TS:73 X-CID-INFO: VERSION:1.1.11,REQID:b6a5756d-ad41-4351-8341-83706ac362ae,IP:0,URL :0,TC:0,Content:0,EDM:0,RT:0,SF:45,FILE:0,BULK:28,RULE:Spam_GS981B3D,ACTIO N:quarantine,TS:73 X-CID-META: VersionHash:39a5ff1,CLOUDID:5370d0a2-dc04-435c-b19b-71e131a5fc35,B ulkID:220922192633HYJZ5STC,BulkQuantity:204,Recheck:0,SF:28|17|19|48|823|8 24,TC:nil,Content:0,EDM:-3,IP:nil,URL:0,File:nil,Bulk:40|20,QS:nil,BEC:nil ,COL:0 X-UUID: 487a28df31454b88850da2e2ac74aa34-20220923 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1142852460; Fri, 23 Sep 2022 12:39:55 +0800 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs11n2.mediatek.inc (172.21.101.187) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Fri, 23 Sep 2022 12:39:54 +0800 Received: from mtksdccf07 (172.21.84.99) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Fri, 23 Sep 2022 12:39:54 +0800 Message-ID: <978af4cc1a8bfa92675bb201947cfdac1e5429f1.camel@mediatek.com> Subject: Re: [PATCH] ASoC: mediatek: mt8195-mt6359: Use snd_soc_pm_ops instead of custom ops From: Trevor Wu To: AngeloGioacchino Del Regno , Mark Brown , Tzung-Bi Shih CC: , , , , , , Date: Fri, 23 Sep 2022 12:39:54 +0800 In-Reply-To: References: <20220922103502.49981-1-angelogioacchino.delregno@collabora.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-MTK: N X-Spam-Status: No, score=-2.0 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,UNPARSEABLE_RELAY,URIBL_CSS 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 On Thu, 2022-09-22 at 16:10 +0200, AngeloGioacchino Del Regno wrote: > Il 22/09/22 15:30, Mark Brown ha scritto: > > On Thu, Sep 22, 2022 at 07:26:21PM +0800, Tzung-Bi Shih wrote: > > > > > snd_soc_pm_ops[1] sets some more fields. I'm not quite sure > > > whether > > > it would introduce any side effect or not. Perhaps Trevor could > > > provide some suggestions. > > > > If it does it should be to fix isues rather than introduce new > > problems - I suspect the other operations just don't work > > currently. > > From my upstream tests, this didn't introduce any issues, that's why > I've > sent this patch. > > In any case, let's check with Trevor, just as to be extremely sure, > but please > use an upstream kernel for eventual tests, as there are quite a bit > of changes > between 5.10 and current upstream. > > Cheers, > Angelo I think it's not a big risk if Angelo already did the test and snd_soc_pm_ops is also used in MT8186. I can help do more tests on 5.10 when the patch is back to chromium in the future. MTK also have a plan to support complete suspend/resume functionality in MT8195. If Tzung-bi has concerns about the patch, I can help submit the patch at the time. Thanks, Trevor