Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1104144pxb; Sun, 19 Sep 2021 06:18:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyWPvWgIl0NckZ4WZ19WLukDhz/aJk+lyqDLYGQM6VO3YeRONNOCMl4Hc1pXH86a5bsyVsI X-Received: by 2002:a5e:850f:: with SMTP id i15mr15004946ioj.83.1632057482902; Sun, 19 Sep 2021 06:18:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632057482; cv=none; d=google.com; s=arc-20160816; b=Yh/l+XuQDakJH2mcjtTqauN38DZ+DWcJRvySwvuHB/EhsEza5fvQEDufFgGhXSg6Pu byCwWQgQhUmLzOi+TyXquzMK/sLP84qIyLJHXLE1r6aS4lrB7BmDKFTDCldUjSMTsbJb ZbQeqapMo1C+gA2kYC9mIsSs9AiCca0h+f1kTYURcUNQmzngdCqZx5TXOowRc1/ogBzC LAJKVMWYpTxDrWPedoV6g6+v4A4GMM7ONdeQTMicwXmQujgeoPHgbxqtWaHke4a3kmQm LwkqTiCyiEnWHqjc7I62YWEIwOzNWDFWFsACvxAvVePrC9uDRqBuAc4r8EGUHf6YuX09 ypUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=+2woymidNiJxUE8rCQYahOHnfkKFWRRuHMyWyjwxYdo=; b=ePpx7Z9+gLEHDLe7zbKBzsLFbT+PUo6/fWkCzNzR+2uLTRZJN/gN1GmGJRZh3afyW4 8y0HDgAkwvM2uOhU4ElIQi4G5yyGATV+25xVga07Pjr4aN4CJEjiWvosOkCLjA4T2C9T VCOrf+AbtwAdc5e/nIKg6+VpntoFdZ/cPy9Q1G3hrrfMQRIKOyFbS/HLei7kV8iadr+w WWukFWJpPXalw/CgcKV6nnQQqyacr9nnqsLWA642S1lL3bduYgzXDIKUt3TDrrbIlQh7 BgKz/powUtgvHQi1E3q3mpGBJ5I9y7eWCgUSnoAIn9zVIepOao1g9wZ0TjfBkIn9UviM DQFg== 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 m3si2230990iop.20.2021.09.19.06.17.25; Sun, 19 Sep 2021 06:18:02 -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 S236291AbhISMDh (ORCPT + 99 others); Sun, 19 Sep 2021 08:03:37 -0400 Received: from rosenzweig.io ([138.197.143.207]:46574 "EHLO rosenzweig.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235290AbhISMDd (ORCPT ); Sun, 19 Sep 2021 08:03:33 -0400 Date: Sun, 19 Sep 2021 07:33:58 -0400 From: Alyssa Rosenzweig To: Sven Peter Cc: Heikki Krogerus , Greg Kroah-Hartman , Guido =?iso-8859-1?Q?G=FCnther?= , Bryan O'Donoghue , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Hector Martin , Mohamed Mediouni , Stan Skowronek , Mark Kettenis , Alexander Graf Subject: Re: [RFT PATCH 9/9] usb: typec: tipd: Remove FIXME about testing with I2C_FUNC_I2C Message-ID: References: <20210918120934.28252-1-sven@svenpeter.dev> <20210918120934.28252-10-sven@svenpeter.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210918120934.28252-10-sven@svenpeter.dev> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Reviewed-by: Alyssa Rosenzweig On Sat , Sep 18, 2021 at 02:09:34PM +0200, Sven Peter wrote: > The Apple i2c bus uses I2C_FUNC_I2C and I've tested this quite > extensivly in the past days. Remove the FIXME about that testing :-) > > Signed-off-by: Sven Peter > --- > drivers/usb/typec/tipd/core.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/drivers/usb/typec/tipd/core.c b/drivers/usb/typec/tipd/core.c > index 26807c050662..3b6878e22ce9 100644 > --- a/drivers/usb/typec/tipd/core.c > +++ b/drivers/usb/typec/tipd/core.c > @@ -673,9 +673,6 @@ static int tps6598x_probe(struct i2c_client *client) > /* > * Checking can the adapter handle SMBus protocol. If it can not, the > * driver needs to take care of block reads separately. > - * > - * FIXME: Testing with I2C_FUNC_I2C. regmap-i2c uses I2C protocol > - * unconditionally if the adapter has I2C_FUNC_I2C set. > */ > if (i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) > tps->i2c_protocol = true; > -- > 2.25.1 >