Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp1390001pxb; Fri, 18 Feb 2022 06:54:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJyZcopzLW4Fxd5CYPWfMeUZRdbUaz30KlwW9H8DcrrSUa32daXGfYCzTu7cl7hho6eICbZf X-Received: by 2002:a17:90b:10d:b0:1bb:ef24:1c77 with SMTP id p13-20020a17090b010d00b001bbef241c77mr175601pjz.170.1645196094899; Fri, 18 Feb 2022 06:54:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645196094; cv=none; d=google.com; s=arc-20160816; b=PfDR5qhvCdMv4rIVG1706nIWop3sv7UBiLp6CZZOXT8XS8mP+1XxIDzz0eV3lBS4cw P1MC33Y+9am5651E1SSySkUdt2MsYKhrPdfJtT7bbQXjW+mbYgiPXP3Sy5Js1NM7wLmv 9/IXejh3lh1U1DQtF1TTPsCDOACt6oQFoN9OexAsdUDUP+LtcngG3XqDCSge1IiSi+6o Ydaz19HE44+wov5DgK1spnyofDjFdlD7oIG+VIZ0XZY5t6KAr1tD7vH3x7xkB5Eh7UIJ 15QkjYy7Pnyh3YBoeFNPUbboUBO1dVvHKlJnSPNv8P2BD1P9kUOIw/DdzKX65nVUJ4tn kYZg== 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-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:ironport-sdr :ironport-sdr; bh=sO5tSa8G22IpHTdblFOJ1g6K8Zib3uB/5R4lPr0BReI=; b=sVic8PTsKkJ5eMdrz9J55smxVahsIGEsDk53mS11YqhvxcncSL9UOQSLEn8H7qZOPm 41IPN1QWa4U772KBnwBg43rv1gF3DZmZApkCFO2T1dzm03LtSS2wCEVQK/H9LzF2eCv8 3dZUVWEYy/w2/kVAsEOaC8J4BQbn0A+nXnZS2cfwjLEOr+P2WNqQemhE2tM+ioW7p8gz 2MNPyYg7oC0TK3NJTh4E/QPcY+P1mTtoeU7u57qcuJ9lnTatlcbYjSxRAzQGQ8bCDIeH t90VnvfFV5Jpgc6vZ8eUmH7jN29d86yIROAGA6K4V13lKmSMqmIOMR6bzCgK/pRKoftm 91Vg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s14si2756625pfu.318.2022.02.18.06.54.38; Fri, 18 Feb 2022 06:54:54 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232584AbiBRLEL (ORCPT + 99 others); Fri, 18 Feb 2022 06:04:11 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:37612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230168AbiBRLEK (ORCPT ); Fri, 18 Feb 2022 06:04:10 -0500 X-Greylist: delayed 62 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 18 Feb 2022 03:03:53 PST Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com [68.232.141.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56D3E27FBB6; Fri, 18 Feb 2022 03:03:53 -0800 (PST) IronPort-SDR: caWXFu+pcF/rMDRfzSlnKIX9Bxt1zKB4JxrEG/lbfrdN8krjjvoyQ5Tfnwe7d4NcdYlTaeiM1H 8J4DG/QqvSKwJGTFM8bpM0oA/PBkwqdNI2ZiwsYObCDUc/E2ytj48mDBpWlapq0QiZ0pvOokAT zFQpihpwpEz7nzBpx3M436ZUiphgWtnwiM6GHAb6fNxsnsen8315tlybKjRWcY77Oje9DrqTjR CCVhlg8duJMhm1LBdEzWSd/Nxbx8HjpI889klbkiH7Tr7FPTl36qnXXI7PTXPDdEirHIsHc8qw XKutTvoThWGVhRXalByQfh9H X-IronPort-AV: E=Sophos;i="5.88,378,1635235200"; d="scan'208";a="72155708" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa2.mentor.iphmx.com with ESMTP; 18 Feb 2022 03:02:50 -0800 IronPort-SDR: JEvkAQS1YDS72FSv3VvUQMFOuO/TzsBuAuqXsnRwFyMmHksoym7Te+YkdMiUQoT+d++lpCmtKC 4Ko/YNotjXl6sVvHfFeDIBQtUcnaTZJoDLtqTgtQq+aWPch6fGJALABf9EA2JYYFIu0ZWuq5DO Fj57bvvyZ06XqnFbdlGikS4Ci6+FYA04UUFxKNZRuc61k6r6FMPZIjiOgVOyChacomQEdpPy0F fCQIDxBzfND0lAOUHf10PvWEkTYuiAYTt7PVIwsNbUuqIv8g/aMHKnyVFNE6H85kNCozKM+8wV 6L8= From: "Gabbasov, Andrew" To: Wolfram Sang CC: "linux-renesas-soc@vger.kernel.org" , "linux-i2c@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Geert Uytterhoeven" , "Surachari, Bhuvanesh" Subject: RE: [PATCH v2] i2c: rcar: add SMBus block read support Thread-Topic: [PATCH v2] i2c: rcar: add SMBus block read support Thread-Index: AQHYJDbc8SPhAEEc60+MP2goKeJNqKyZF7Tw Date: Fri, 18 Feb 2022 11:02:45 +0000 Message-ID: <0a07902900bc4ecc84bd93a6b85a2e0c@svr-ies-mbx-02.mgc.mentorg.com> References: <20210922160649.28449-1-andrew_gabbasov@mentor.com> <000001d7badd$a8512d30$f8f38790$@mentor.com> <20211006182314.10585-1-andrew_gabbasov@mentor.com> In-Reply-To: Accept-Language: en-US, en-IE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [137.202.0.90] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 SGkgV29sZnJhbSENCg0KVGhhbmsgeW91IGZvciB5b3VyIGZlZWRiYWNrIQ0KU2VlIG15IHJlc3Bv bnNlcyBiZWxvdy4NCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBXb2xm cmFtIFNhbmcgPHdzYStyZW5lc2FzQHNhbmctZW5naW5lZXJpbmcuY29tPg0KPiBTZW50OiBUaHVy c2RheSwgRmVicnVhcnkgMTcsIDIwMjIgMTA6NDUgUE0NCj4gVG86IEdhYmJhc292LCBBbmRyZXcg PEFuZHJld19HYWJiYXNvdkBtZW50b3IuY29tPg0KPiBDYzogbGludXgtcmVuZXNhcy1zb2NAdmdl ci5rZXJuZWwub3JnOyBsaW51eC1pMmNAdmdlci5rZXJuZWwub3JnOyBsaW51eC1rZXJuZWxAdmdl ci5rZXJuZWwub3JnOyBHZWVydA0KPiBVeXR0ZXJob2V2ZW4gPGdlZXJ0K3JlbmVzYXNAZ2xpZGVy LmJlPjsgU3VyYWNoYXJpLCBCaHV2YW5lc2ggPEJodXZhbmVzaF9TdXJhY2hhcmlAbWVudG9yLmNv bT4NCj4gU3ViamVjdDogUmU6IFtQQVRDSCB2Ml0gaTJjOiByY2FyOiBhZGQgU01CdXMgYmxvY2sg cmVhZCBzdXBwb3J0DQo+IA0KW3NraXBwZW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