Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp639333imp; Wed, 20 Feb 2019 06:33:39 -0800 (PST) X-Google-Smtp-Source: AHgI3IZUrLjVwMa3QMrL3xG1CZb6L2Gj0dAL4a+pfgTjTyG3H6JCgoIBCKMEV/YZEN3VDXaWP4yT X-Received: by 2002:a17:902:f64:: with SMTP id 91mr36963139ply.132.1550673219672; Wed, 20 Feb 2019 06:33:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550673219; cv=none; d=google.com; s=arc-20160816; b=0zToSyVZ3z2X567JWu/phUI+iL0eUw2FvzZjouq3LtKPDhQhcMW6G3wQylQ38aTGRz oIzOUnjbAFmjCvlKMozIWS765jxx+TwdlaiIUl8arC3HmYxchY6nG130bInRi7UtdI0m YLgnPu8MOBv6FLuHzRpbpHZUdoyh893gCc9gO03aFy5vHiNtXjvmkFjAL2psFqzkq2CV UD6dPS5x2y2L28sp9IwQMg3uRekAiWTVW/Wizt6Sc0f64NAa8WkKtzijGBfIIMNwKR+9 2S/AgxGtQDKClhhnWOOZq28FTMUfMbcZNqnXGHtKEsgT8FuFXc2R6PEO8TGndIPk4lgZ SA9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=CUrIECHCqch6S6Tv/KPh4cIGk8WAeTZxGitjoHzo51E=; b=DoAe2WDUQnytRm4/9CLCiRerEgJ1pVjhRcRuYVdjyJs0/lyvr5gx8Z1jNC1MoFSXtT XmjFYsQe/gllR7zXzfnCoJ1Qz7W3RPXqI4XS+Xbmr4X4YRP6p5lfdu19sYJyQ5F/ctjh Bx70nWRYogf6rl0QfTI1sqQKuG7sV5DNlY5uJGNrD4lsVoc4fCnzKvfszgfjZNcmDJpy 6D04NRjglaP+Tw1nBqwX3q5qnlyax4GJlkkzmuJ+LFPFHqX3gMKUUnBjcMtiuvO5IPgY VAwmbAcpEevrM9svr6oqQosthVLMV1v0L7um8nCz6V77WJnxKqZ3Ws7D79DSZYRsTiEb 0Zmg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id t5si18296093pgm.79.2019.02.20.06.33.23; Wed, 20 Feb 2019 06:33:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727113AbfBTObJ (ORCPT + 99 others); Wed, 20 Feb 2019 09:31:09 -0500 Received: from mga07.intel.com ([134.134.136.100]:52672 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725801AbfBTObI (ORCPT ); Wed, 20 Feb 2019 09:31:08 -0500 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Feb 2019 06:30:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,391,1544515200"; d="scan'208";a="148386792" Received: from kuha.fi.intel.com ([10.237.72.189]) by fmsmga001.fm.intel.com with SMTP; 20 Feb 2019 06:30:54 -0800 Received: by kuha.fi.intel.com (sSMTP sendmail emulation); Wed, 20 Feb 2019 16:30:53 +0200 Date: Wed, 20 Feb 2019 16:30:53 +0200 From: Heikki Krogerus To: Nikolaus Voss Cc: Greg Kroah-Hartman , Guenter Roeck , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCHv2] usb: typec: tps6598x: handle block writes separately with plain-I2C adapters Message-ID: <20190220143053.GD5054@kuha.fi.intel.com> References: <20180425142209.30745-1-heikki.krogerus@linux.intel.com> <20190220110017.BFA344CE86@mail.steuer-voss.de> <20190220125731.02E274CFE0@mail.steuer-voss.de> <20190220133036.GB5054@kuha.fi.intel.com> <20190220141423.GC5054@kuha.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190220141423.GC5054@kuha.fi.intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 20, 2019 at 04:14:23PM +0200, Heikki Krogerus wrote: > On Wed, Feb 20, 2019 at 02:38:47PM +0100, Nikolaus Voss wrote: > > On Wed, 20 Feb 2019, Heikki Krogerus wrote: > > > On Wed, Feb 20, 2019 at 01:57:30PM +0100, Nikolaus Voss wrote: > > > > Commit 1a2f474d328f handles block _reads_ separately with plain-I2C > > > > adapters, but the problem described with regmap-i2c not handling > > > > SMBus block transfers (i.e. read and writes) correctly also exists > > > > with writes. > > > > > > > > As workaround, this patch adds a block write function the same way > > > > 1a2f474d328f adds a block read function. > > > > > > > > Fixes: 1a2f474d328f ("usb: typec: tps6598x: handle block reads separately with plain-I2C adapters") > > > > Fixes: 0a4c005bd171 ("usb: typec: driver for TI TPS6598x USB Power Delivery controllers") > > > > Signed-off-by: Nikolaus Voss > > > > > > You are missing a "from" line with address that matches your SoB > > > address. > > > > That's because I currently cannot send patch mails from my company account > > as our MTA breaks diffs. > > I understand, but you can have a separate "From line" in your patch, > i.e. you send the patch using one address, and have an extra "From > line" (outside of the mail header) with another address. > > That other From line will be interpreted as the author address, and > it should match your SoB address. > > > Try something like this in a branch where this patch is the HEAD: > > % export MY_COMMIT=$(git show -s --pretty=%h HEAD) > % git reset HEAD^ > % GIT_COMMITTER_IDENT='Nikolaus Voss ' \ > GIT_AUTHOR_IDENT='Nikolaus Voss ' \ > git commit -a -C $MY_COMMIT Correction here: % GIT_COMMITTER_IDENT='Nikolaus Voss ' \ GIT_AUTHOR_IDENT='Nikolaus Voss ' \ git commit -a -C $MY_COMMIT --reset-author That "--reset-author" was missing. Sorry for that. thanks, -- heikki