Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp149824pxf; Wed, 7 Apr 2021 23:03:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqpLhUOCza0yiIWkdOMvdEYDxuCJiki93+YfrvpxZHPi06RhiKrPnrpkTKMIhqxkaRap1x X-Received: by 2002:a17:907:2058:: with SMTP id pg24mr8319755ejb.515.1617861803592; Wed, 07 Apr 2021 23:03:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617861803; cv=none; d=google.com; s=arc-20160816; b=FUdxPKMalw549gIyW0V7HIA778iE+U2t1de8hJtEv6HJ5Y+5yROmGZfyl6qPwO1pFP vwU2gzBb0tsCr5BJFn+bPE/phdFzkG0/SjMNqCdph/A7GsLw0xzREVrcCiHZNBdPmYlt atTkSY/mZUD3sTH1BgEWLZwIMu8TbhvRAy99DLtOM1wxeuGn6jUG76+PgiaW1AV0PRWW sqml4AQxefJ+3zvlqS0+IGjPccactio97B7ciIwZHa2Cq7HqalTdNjySe/dHbOCOefMw wjn529bGjdJAdOBCGpKdNFwm5aKnnfNRd+N+tZMJV3bFfAhuHPPwgimXnMIo68qZA2y/ cm4Q== 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=lMu54n3WM7h13T4KRXSxF20E2a6a7I6PmSwVbYUM2ys=; b=olSW8wWMESGcY9HbVp6lAgUptn6KPpKWTooBK7L0MwyXz9cueELnRC8DZB0Csps4D4 K7/KPXJfBjQQ7Y2kprpeoFUNUrFQr5IF/HIkawaM78qrvKoB+IeQYmfVb/7GP/buBkZ+ /WJ9kxH6Dzm6aIg2uXoog0uk3mD8l0BEen1EvlKYfYaSW/irxJ5CD/Hx74rR0hKkyf3j 1Hh3WqAobQAUjTAM3Yu2T/AujccqxHdH9Hg6yDdGq5dfPczFT+VYCYsvqZ4aH5bL3csH xaRAdG3JMAQbu8exJG3wQoSAUmHTsgUTuKkYw3+bwEzHfr6Vp2BWOkZrusngR5hCh421 V5vA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Bi6SOH46; 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 dp16si22494755ejc.480.2021.04.07.23.03.00; Wed, 07 Apr 2021 23:03:23 -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=Bi6SOH46; 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 S229815AbhDHF6i (ORCPT + 99 others); Thu, 8 Apr 2021 01:58:38 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:34666 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S229534AbhDHF6h (ORCPT ); Thu, 8 Apr 2021 01:58:37 -0400 X-UUID: 340c60f63bd24233a634a4060606529a-20210408 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=lMu54n3WM7h13T4KRXSxF20E2a6a7I6PmSwVbYUM2ys=; b=Bi6SOH460znrXWsR0YJziqBdrrZX6/YoEV+URq1eC4BUN2kxDlzJTH9q0I+7bD3UdP8834lCeKj+mAZWKnZ7rwppzkBQqEqo25bWYmTeTuLJv6fliY2yWF2U+Kg1Hfe2dBq/1/LmLOyju5EpfYC/QZUaXLX078HIsYmV+HMP6RY=; X-UUID: 340c60f63bd24233a634a4060606529a-20210408 Received: from mtkmrs01.mediatek.inc [(172.21.131.159)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 619939171; Thu, 08 Apr 2021 13:58:23 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 8 Apr 2021 13:58:21 +0800 Received: from [172.21.84.99] (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 8 Apr 2021 13:58:21 +0800 Message-ID: <1617861501.8874.4.camel@mtksdccf07> Subject: Re: [PATCH v2 4/6] soc: mediatek: devapc: rename variable for new IC support From: Nina Wu To: Matthias Brugger CC: Rob Herring , Zhen Lei , Neal Liu , , , , , , Date: Thu, 8 Apr 2021 13:58:21 +0800 In-Reply-To: References: <1617259087-5502-1-git-send-email-nina-cm.wu@mediatek.com> <1617259087-5502-4-git-send-email-nina-cm.wu@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksIE1hdHRoaWFzDQoNCk9uIFR1ZSwgMjAyMS0wNC0wNiBhdCAxNTo0MyArMDIwMCwgTWF0dGhp YXMgQnJ1Z2dlciB3cm90ZToNCj4gUmVnYXJkaW5nIHRoZSBjb21taXQgc3ViamVjdDoNCj4gInNv YzogbWVkaWF0ZWs6IGRldmFwYzogcmVuYW1l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