Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1966189pxj; Sun, 30 May 2021 08:59:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyp3uNqItbY7B3meJamOkxzK5CZJLo9OohcOcMByYrGA8CUN9fd8MpqmT8Oz3YrxkvBpAIN X-Received: by 2002:aa7:c24d:: with SMTP id y13mr20799377edo.155.1622390394528; Sun, 30 May 2021 08:59:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622390394; cv=none; d=google.com; s=arc-20160816; b=F3FNEbnqnrulzoBLkVUL2/jhbPvU8M3xTlrng357iN8zmib+hn4KUSVTVqErYKCED3 zWapcokF8Kvv4YO7IbadMr5S5nTfPuv4KAdICFTNMTx5uegwZtGWrOtNQoP1EU1BlWK8 cpZ19qb0pBoAPlur8vE79guWVo/B+DvJJZGkTvOlF7s9BTjGbiRdiLiWywX9t3Z0HF69 K3cL7iouf3AQT/CH2tPy1dcMaShm/NSbvQ8xUjj9qy5nVcSMktUKttcwd0M3Fd8dKKfQ u7mPshIXzW8XZ92BO5e24rT1XqknoIAbWZB45JmAZ8DPL5PIYl2hvvjeWCkluH0wIrjL wkyw== ARC-Message-Signature: i=1; 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; bh=VIT8m+VniTQy75IT67crmX6wpwuOCe6EhvvZr9hScrg=; b=lhjt5OjCUZg4PTF7tk/j5My99XFLELdkHbqRhjrmldy2mDskFe+BiS9f6CpSbBQ9Qh GRIUH5sLxbqKtHlovP/U1jo2qqU/FI8mtR2XKTkRIP6Mb6uclJTaqCv/ZXkSX1tR/3v0 RARWFhCdabF7L8cWSyhQ7mMqvzBA6xdFxde8gczWhXGHuRl7gCkNzViX2VRdZdJ71vks gWqLebDjQJ43T4/DslmZ75TG2k5sJGbICgzA8SYmkQNHCIoH/6IBZsc1R6m0T26j/bca ibiiQZfcnP6DC/IusFJ0JcJyY2oE2i3s8Se5C2epkVmobsFEMGMbZBmWfXyC9kvBLbdC L6FA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a24si10295758ejy.174.2021.05.30.08.59.08; Sun, 30 May 2021 08:59:54 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229783AbhE3Pzk (ORCPT + 99 others); Sun, 30 May 2021 11:55:40 -0400 Received: from mg.richtek.com ([220.130.44.152]:45670 "EHLO mg.richtek.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229671AbhE3Pzj (ORCPT ); Sun, 30 May 2021 11:55:39 -0400 X-Greylist: delayed 331 seconds by postgrey-1.27 at vger.kernel.org; Sun, 30 May 2021 11:55:39 EDT X-MailGates: (flag:3,DYNAMIC,RELAY,NOHOST:PASS)(compute_score:DELIVER,40 ,3) Received: from 192.168.8.21 by mg.richtek.com with MailGates ESMTP Server V3.0(14675:0:AUTH_RELAY) (envelope-from ); Sun, 30 May 2021 23:53:57 +0800 (CST) X-MailGates: (compute_score:DELIVER,40,3) Received: from 192.168.10.46 by mg.richtek.com with MailGates ESMTP Server V5.0(4329:0:AUTH_RELAY) (envelope-from ); Sun, 30 May 2021 23:48:21 +0800 (CST) Received: from ex3.rt.l (192.168.10.46) by ex3.rt.l (192.168.10.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.858.5; Sun, 30 May 2021 23:48:20 +0800 Received: from ex3.rt.l ([fe80::ede0:40a5:8f78:963e]) by ex3.rt.l ([fe80::ede0:40a5:8f78:963e%2]) with mapi id 15.02.0858.010; Sun, 30 May 2021 23:48:20 +0800 From: =?utf-8?B?Y3lfaHVhbmco6buD5ZWf5Y6fKQ==?= To: "axel.lin@ingics.com" , "broonie@kernel.org" CC: "lgirdwood@gmail.com" , "linux-kernel@vger.kernel.org" , "u0084500@gmail.com" Subject: Re: [PATCH RFT 1/2] regulator: rtmv20: Fix .set_current_limit/.get_current_limit callbacks Thread-Topic: [PATCH RFT 1/2] regulator: rtmv20: Fix .set_current_limit/.get_current_limit callbacks Thread-Index: AQHXVVEW/Kq7COUIdUywUWfa9WDfUqr7pa8A Date: Sun, 30 May 2021 15:48:20 +0000 Message-ID: <1622389700.3462.10.camel@richtek.com> References: <20210530124101.477727-1-axel.lin@ingics.com> In-Reply-To: <20210530124101.477727-1-axel.lin@ingics.com> Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Evolution 3.18.5.2-0ubuntu3.2 x-originating-ip: [192.168.8.47] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Pg0KPiBDdXJyZW50IGNvZGUgZG9lcyBub3Qgc2V0IC5jdXJyX3RhYmxlIGFuZCAubl9saW5lYXJf cmFuZ2VzIHNldHRpbmdzLA0KPiBzbyBpdCBjYW5ub3QgdXNlIHRoZSByZWd1bGF0b3JfZ2V0L3Nl dF9jdXJyZW50X2xpbWl0X3JlZ21hcCBoZWxwZXJzLg0KPiBJZiB3ZSBzZXR1cCB0aGUgY3Vycl90 YWJsZSwgaXQgd2lsbCBoYXMgMjAwIGVudHJpZXMuDQo+IEltcGxlbWVudCBjdXN0b21pemVkIC5z ZXRfY3Vyc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