Received: by 2002:a05:6a10:c7d3:0:0:0:0 with SMTP id h19csp1340274pxy; Sun, 15 Aug 2021 18:12:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfEj7vP5Yd3WtJj6Ty1eu5100XRLSmJKXZ5hjehMuqora3SLyp0wFmvDZVKdU27Ood0DtB X-Received: by 2002:a05:6402:498:: with SMTP id k24mr17463357edv.25.1629076358302; Sun, 15 Aug 2021 18:12:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629076358; cv=none; d=google.com; s=arc-20160816; b=KamQC4WNT2Gu0FamlwIKtnPWnef2Lig41UPiGtVm8ui940l8ONVdAG0riWT6AmvruL Z0yeA/kgAGPT1c36hmdGuG4WtDha/hMsinTEExYfxlxWFRROWs2OMA3m5JhGsQNugPs2 fhHz++ejI0ozmhALyrk6B4FDak2rfelBOxITW+GvyYE6p7uz5VfV7sXe/1Y96I6WQEId JZFdtc/zt7m6OpPQoyLMqsrs8iRhMUlvAwgkXtuKwmYjSrTing2dAyuGH7tSmnbE55WZ 5lOxCIOg/lFU9tb5uSzYUNNynEj19bG1ZwPdQzRqfqe/58Id8ZRaPNgrsBXhEr7niQzI e3QQ== 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=9kQBLZFj5ezpryuZ+bSvNEM9MjxNOcc+IorPW7rMt+o=; b=UGNcCrdfKpF8h3PtCtYRRtKLOi7i7yz3F6UV2Q3+CI4I9CFzcVz6zpWXqMFQjPLT7s IZBxqFyq1/tNA3uH59bYfypBSUKALxhmk3fhYCe2ByJD0vL9XauS/0J/jeYMkJdIUYPd hsQ4DmHThMP4GnKVamIXVICtp9YdL6S1mhE6TZDM7hbb5CooK+XKpbTB/A/qOElzX7PE noBfTEsX+r+OIOg6GUedo9oP6bA4Q0ratuGnVKkN2+P5k8w0Kpm5fgFWNdapIiAnHUFe jmBxyXk++67gNemi7u9U8ooYv2TsEE6oBrPdgpKKVq+nb6oLYb55NN5Vipmr1SI0BChG KWXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=OiGSdtrP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cy15si8304886edb.380.2021.08.15.18.12.15; Sun, 15 Aug 2021 18:12:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=OiGSdtrP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232382AbhHPBLQ (ORCPT + 99 others); Sun, 15 Aug 2021 21:11:16 -0400 Received: from Mailgw01.mediatek.com ([1.203.163.78]:47929 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S229926AbhHPBLQ (ORCPT ); Sun, 15 Aug 2021 21:11:16 -0400 X-UUID: 670d81ca44984bed8cf7613711b4067c-20210816 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=9kQBLZFj5ezpryuZ+bSvNEM9MjxNOcc+IorPW7rMt+o=; b=OiGSdtrPuvDuKrtAU8ivFqqPVpUqv9aa8pjJ4z+Wg7gqUbkeoeSrdXxBwvEvF9VDsQBLCtHSxTomjQXg0xe8cIMn6gBnLFWMDnLRLjTGOtjt2p1Vj7CbGhpC2cD1V3+turEWecxQxrDCZcSwfshBV0G95mS/ENIcU0FLPbtnmto=; X-UUID: 670d81ca44984bed8cf7613711b4067c-20210816 Received: from mtkcas36.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 597104457; Mon, 16 Aug 2021 09:10:39 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS33N2.mediatek.inc (172.27.4.76) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 16 Aug 2021 09:10:33 +0800 Received: from mhfsdcap04 (10.17.3.154) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 16 Aug 2021 09:10:32 +0800 Message-ID: Subject: Re: [PATCH v6 4/9] media: mtk-mdp: don't pm_run_time_get/put for master comp in clock_on From: houlong wei To: Eizan Miyamoto , "linux-kernel@vger.kernel.org" CC: "wenst@chromium.org" , "Yong Wu =?UTF-8?Q?=28=E5=90=B4=E5=8B=87=29?=" , "enric.balletbo@collabora.com" , "devicetree@vger.kernel.org" , "chunkuang.hu@kernel.org" , "Andrew-CT Chen =?UTF-8?Q?=28=E9=99=B3=E6=99=BA=E8=BF=AA=29?=" , Matthias Brugger , Mauro Carvalho Chehab , "Minghsiu Tsai =?UTF-8?Q?=28=E8=94=A1=E6=98=8E=E4=BF=AE=29?=" , "linux-arm-kernel@lists.infradead.org" , "linux-media@vger.kernel.org" , "linux-mediatek@lists.infradead.org" , Date: Mon, 16 Aug 2021 09:10:33 +0800 In-Reply-To: <20210802220943.v6.4.Ifd87681955689a08cce4c65e72ee5e8c6d09af95@changeid> References: <20210802121215.703023-1-eizan@chromium.org> <20210802220943.v6.4.Ifd87681955689a08cce4c65e72ee5e8c6d09af95@changeid> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 MIME-Version: 1.0 X-TM-SNTS-SMTP: 0B2746CA6D771121B2563528A92B8BDB492B9CC0FE92280D4F162E39692BEA842000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gTW9uLCAyMDIxLTA4LTAyIGF0IDIwOjEyICswODAwLCBFaXphbiBNaXlhbW90byB3cm90ZToN Cj4gVGhlIG9yaWdpbmFsIGludGVudCBvZiBjb21taXQgODY2OThiOTUwNWJiYyAoIm1lZGlhOiBt dGstbWRwOiBjb252ZXJ0DQo+IG10a19tZHBfZGV2LmNvbXAgYXJyYXkgdG8gbGlzdCIpIHdhcyB0 byBjcmVhdGUgYSBsaXN0IHRvIHRyYWNrIGFsbA0KPiB0aGUNCj4gTURQIGNvbXBvbmVudHMgdGhh dCBuZWVkZWQgdG8gaGF2ZSB0aGVpciBjbG9ja3MgZW5hYmxlZC9kaXNhYmxlZCB3aGVuDQo+IGNh bGxpbmcgbXRrX21kcF9jb21wX2Nsb2NrX29uL29mZi4gSG93ZXZlciwgdGhlcmUgd2FzIGEgYnVn IGluc2lkZQ0KPiBtdGtfbWRwX3JlZ2lzdGVyX2NvbXBvbmVudCB3aGVyZSB0aGUgYXJncyB0byBh IGNhbGwgdG8gbGlzdF9hZGQgd2VyZQ0KPiBzd2FwcGVkLiBUaGUgcmVzdWx0IGlzIHRoYXQgb25s eSBvbmUgY29tcG9uZW50IHdhcyBhZGRlZCB0bw0KPiBtdGtfbWRwX2Rldi5jb21wX2xpc3QgYmVj YXVzZSBjb21wX2xpc3Qgd2FzIGluc3RlYWQgYmVpbmcNCj4gcmVwZWF0ZWRseSBhZGRlZCB0byB0 aGUgc2luZ2xlIGVsZW1lbnQgbGlzdHMgaGVhZGVkIGJ5IGVhY2gNCj4gbXRrX21kcF9jb21wLg0K PiANCj4gVG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