Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2561419pxb; Sat, 30 Jan 2021 06:37:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJzazhEFiZMhtP1VvAhqhiftrAvB53W07hhGDfE/HpvpLCsnLYUaftNdh6MCR2rPU8E+pWsC X-Received: by 2002:a05:6402:4252:: with SMTP id g18mr10471986edb.231.1612017455772; Sat, 30 Jan 2021 06:37:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612017455; cv=none; d=google.com; s=arc-20160816; b=CeDvnrWqmdxkbMY2beg9i3u+eu509+7vpgfw4gxTdEWDuG8aYQErosyFFJd+f+Hpga JZWQQIBXDob48bIf1v9yB1bUwg9uJZihhgL1Q8kuS7HUaSZORud9JI1OJayFfcxTnLfr QnXogmy6CzBHC/0DLj+Zn3q53UVarBS4h48E8kfYOAwjo+Xr086NO3jjSIL9RCb4FSR0 ATkwFnMcTy7gMr7+7RLOWpcqKglN5sZGmvMmN9PJPikjrRcaIvdZiRtFWXjHpPCeVNPP aydOx1C/Qj084cCrdcpfrkAAlddnY+xTpaAo38VQg46Nq70wUuZ1axNdH4ZOGhGpetWm iDkw== 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:message-id:date:subject:cc:to:from :dkim-signature; bh=kakw+ExY4w3INOL6Gi+WiqHiFNwjMa2eKTFUAGbCIJY=; b=GlhwHQpqIw9tSETfUE4QUId0x85PmHTCKxUMRnuNhJbeSd0eDMiqRx8zciIbpRKaEn DiKwJmmf3eJAf8Lkhk1R447sgIQ0VlzbwGWtiHqxOBYJqBuWVBEsFNqvtqn+um7pLBco fcm3As+Mopy58DxuN+abpHUrMSskHg47Oht8u4HSbBTs8Xn01iUCkKASd6Urv/sgJ17i CAowxojwrPD6DNcz2sWf3LUUwJjONGjD8/AH+gC/UHcnXg0Z9bNayHwNXTMVx2xCeOQH D1xyllxNWQXZmhfRQ/LPzJrWRWP3iR8yyhWQvVYiRQkmGi1EmXH5RhMAxG0Zn8SiS4YK aLaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=BjrCyn6P; 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 q20si6130212edr.444.2021.01.30.06.37.11; Sat, 30 Jan 2021 06:37:35 -0800 (PST) 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=BjrCyn6P; 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 S231686AbhA3Oc3 (ORCPT + 99 others); Sat, 30 Jan 2021 09:32:29 -0500 Received: from mailgw02.mediatek.com ([1.203.163.81]:62607 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S231801AbhA3ONk (ORCPT ); Sat, 30 Jan 2021 09:13:40 -0500 X-UUID: 840ae44ff2504a20af1dcdd0b94d30ae-20210130 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=kakw+ExY4w3INOL6Gi+WiqHiFNwjMa2eKTFUAGbCIJY=; b=BjrCyn6PEQyixv3QYJxV7kLEoR2au4DqYHTNPTLGuMQnlQ7i1VyeuxatEjr8t/baZS35bYApsGFnHd25CTmxb5C49QXdaEedfnQV5PQyyXjW6l89rylBA/LHq00HnICbYr8tG3Ngo6QxtM7VcNa5nBQU/xDvVhRvg4OFk8pL0Cs=; X-UUID: 840ae44ff2504a20af1dcdd0b94d30ae-20210130 Received: from mtkcas35.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 502012696; Sat, 30 Jan 2021 22:12:54 +0800 Received: from MTKCAS32.mediatek.inc (172.27.4.184) by MTKMBS33N2.mediatek.inc (172.27.4.76) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 30 Jan 2021 22:12:30 +0800 Received: from mszsdaap41.gcn.mediatek.inc (10.16.6.141) by MTKCAS32.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 30 Jan 2021 22:12:30 +0800 From: Jitao Shi To: Thierry Reding , Matthias Brugger CC: , , , , , , , , , , , , Jitao Shi Subject: [PATCH v2 1/3] pwm: mtk_disp: clear the clock operations Date: Sat, 30 Jan 2021 22:12:24 +0800 Message-ID: <20210130141226.25357-2-jitao.shi@mediatek.com> X-Mailer: git-send-email 2.12.5 In-Reply-To: <20210130141226.25357-1-jitao.shi@mediatek.com> References: <20210130141226.25357-1-jitao.shi@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: F34A494F3A7982D95875365C4E294044EF602491AE2604A69FF106C2BD7392CD2000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org UmVtb3ZlIHRoZSBjbGtfcHJlcGFyZSBmcm9tIG10a19kaXNwX3B3bV9wcm9iZS4NClJlbW92ZSB0 aGUgY2xrX3VucHJlcGFyZSBmcm9tIG10a19kaXNwX3B3bV9yZW1vdmUuDQoNClNpZ25lZC1vZm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