Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2757502pxb; Tue, 21 Sep 2021 07:04:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkyWc2jna2OQ0eOS7A4cSsdVI8KncZqVsrGZvixMppw+pwQAGxyIQF7ak8uYo4xwEN6PNq X-Received: by 2002:a17:906:1341:: with SMTP id x1mr34218518ejb.277.1632233096538; Tue, 21 Sep 2021 07:04:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632233096; cv=none; d=google.com; s=arc-20160816; b=LYMAnzx3aC7pwq3tS+9qiL4GgtUrlaZE6ySOoKPp0+GIfihXcaHQ6m6xWywRzK4wxY aq+r8q69w+a8cIy/KGFh3cvE/BlT91InU3wW4xYu9BGo+gYvgxLRKKiivq+ZJ8founKy 1bojHrwTQrJtU86GzVMcwz7EpQCGZTWydxT8OUw0aCncmFyeTaQ2Lzq20JxXjWEtd4wv vQl4phNhYJVfZkI1zkFkY/feSSgeWM2irUTC0LyGdiJD9saG96rXzA6j3Md0fbQm/bvu UKG4Q3KWf3MCSOEMzXIqLD2V3BYgFP/SQd194MORUG9ViLrvYAXZCbQUYDYaqxwXA1Gh 2chA== 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=SEw0TholasvF9tvODx0bRk1mLT1bsaKVTGIVnB3A3/M=; b=NYJS+ssiuhBwp/hpqDa5z2UBvUp0i5RrpOloNidhROHdgwkRP6u+gNoKZE916lrvRU 2SRPnI2tNh2HNm1OPvzvJ5q7RObmUPsqQCXLh2p6xwVArmyLnsg1RIyH9fD6prAUn+Ob 97n9m6jlCDiOD6IXbwPfoOc6sXVqR+IynSUI8iSDXfa5b5a0quj3FpKd1Bon6PUBUwE5 awXDoY6UK4KDzq1QJ8XeVLNtgL6Fqkm37v+56oX/c88l56ACy4vVevITvdBvWwZ2PZOW A7sGDkEFL7zME1S5kIwY4nsKIBBKjVPNo3xgwYfoBStMoGW2+niiflP24BMUK5u6+Dgk 3dTw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w18si20486996ejv.669.2021.09.21.07.04.24; Tue, 21 Sep 2021 07:04:56 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233435AbhIUOET (ORCPT + 99 others); Tue, 21 Sep 2021 10:04:19 -0400 Received: from mga18.intel.com ([134.134.136.126]:26012 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232981AbhIUOER (ORCPT ); Tue, 21 Sep 2021 10:04:17 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10113"; a="210443857" X-IronPort-AV: E=Sophos;i="5.85,311,1624345200"; d="scan'208";a="210443857" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Sep 2021 06:41:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,311,1624345200"; d="scan'208";a="613009717" Received: from kuha.fi.intel.com ([10.237.72.162]) by fmsmga001.fm.intel.com with SMTP; 21 Sep 2021 06:41:37 -0700 Received: by kuha.fi.intel.com (sSMTP sendmail emulation); Tue, 21 Sep 2021 16:41:36 +0300 Date: Tue, 21 Sep 2021 16:41:36 +0300 From: Heikki Krogerus To: Sven Peter Cc: 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 , Alyssa Rosenzweig 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 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 Reviewed-by: Heikki Krogerus > --- > 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 thanks, -- heikki