Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp827195pxa; Wed, 19 Aug 2020 16:28:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQzuy32h4Y+QFZk7npUZKh68JX92uX/QSULlBnOf62p1GwdMFM7+8LvgVf0dRCvY52fS4t X-Received: by 2002:aa7:c544:: with SMTP id s4mr374337edr.51.1597879728686; Wed, 19 Aug 2020 16:28:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597879728; cv=none; d=google.com; s=arc-20160816; b=Mj4aK0UUiLr7Z6B79ISOm7H1AAiF+6GWeevZyAA6tKjLjFCnaAB78qb+NZ6J4d8rLY tsi8GAfsZUvWZFySVJI5H5F7rJvfn4LlVpDSHYG7tnGWqeAvA3XRa/InZNrE0t6O6SW9 sjjhT1kfeBFWfyf6ukEBiEW3IC6bxBc8zWXHk++bwSxpMgDLAFxGuGv8wfQhwSUN/Gbu iqxykJeNuCNHaowu2qvwXsa6ltjM+Gmtz7Q9fKBGcn33B/Q28WDWuMa005Py1wQaFP/2 UAkUaLk/R2+gO75Vjc8yws7SLyYL44RYoXmXW8Sd2bnolpK1/zrf7t3TTB2B7vw3ZNVH XkJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=I3bVUW//Y9PVDmqdS+gZq01+oGzwy6kZXx474gcEV8M=; b=XcsybQwWWhytoq91DRKTRwoh2ME4bAgVG6WJzb3iaXe+pIRpcfwZ62yAgK1AUvwNpV XvYNpglFbLhxwEqwjnZVq952i86CYdbu6JUS4tqpwifcz+GcIPz+qw9c9UcP7Ow/x8sX mJWC6ud6jThmpaMsEEVWi5QyWrT206Bta52poCDXuaUYFwmWSk1omtpxGQj08gYVaHEB OThFk49g4tvNLYUiOf7RLam0lK1hMXZBNQr/A+f/RwxV3TLmHw9haaO0wtbbt6Lt6kzt wrdmZlHV5EtSR7tA/XLb8pkGKLWvidzJFEBL+svKBXpVKcTRb+Zt1psNIuKRjUdlO3qy KHNA== 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 qw15si90904ejb.481.2020.08.19.16.28.25; Wed, 19 Aug 2020 16:28:48 -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 S1726899AbgHSXXi (ORCPT + 99 others); Wed, 19 Aug 2020 19:23:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726209AbgHSXXh (ORCPT ); Wed, 19 Aug 2020 19:23:37 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5764BC061757; Wed, 19 Aug 2020 16:23:37 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id D20EF11DB315F; Wed, 19 Aug 2020 16:06:50 -0700 (PDT) Date: Wed, 19 Aug 2020 16:23:36 -0700 (PDT) Message-Id: <20200819.162336.2039523481783485574.davem@davemloft.net> To: min.li.xe@renesas.com Cc: richardcochran@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 net] ptp: ptp_clockmatrix: use i2c_master_send for i2c write From: David Miller In-Reply-To: <1597761682-31111-1-git-send-email-min.li.xe@renesas.com> References: <1597761682-31111-1-git-send-email-min.li.xe@renesas.com> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 19 Aug 2020 16:06:51 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Date: Tue, 18 Aug 2020 10:41:22 -0400 > From: Min Li > > The old code for i2c write would break on some controllers, which fails > at handling Repeated Start Condition. So we will just use i2c_master_send > to handle write in one transanction. > > Changes since v1: > - Remove indentation change > > Signed-off-by: Min Li Applied, thank you.