Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp1300770ybf; Thu, 27 Feb 2020 08:23:22 -0800 (PST) X-Google-Smtp-Source: APXvYqytC9Jf6naKEg8m0c+WRpJLZe/swxiFJbAeYoZuiDuUKr3z59JOSxt7Z3mPrT7+flzT9efq X-Received: by 2002:aca:ab53:: with SMTP id u80mr3927361oie.94.1582820602585; Thu, 27 Feb 2020 08:23:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582820602; cv=none; d=google.com; s=arc-20160816; b=xnzCrOkYo3lfIbRJtOs0cSL8vAL9aH2yPpBHkBR4d85kR5OWE/DRcJx88j4/8qeLQp tc8rNjgF9I+EgwOzHDuDS+ZMj2MKZx29J/cXek8U1MDJ6mgcRude8Q/IzMY11GFUlWfY T5mizbBueZbBL3iBvkolqHMzE6P6qiw8oO1eGmsqlbuaBdT8G0bhpFL/Jl2hBxERVVSd b8XxRKnWEKHxhkhP2Ao6+xbJIHRFamxjVAn1amH4MiW9rxtr0o+Glu+m/Idx3+AT83fo xf+2d5TkwkEjVPwH8vAtihdiQ4Sg7hhLt7RP0pMAuDLHrqZx4b07K71PJ4iq+vhuGFY5 sr6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ZV5Z06slq8+aPdQUZzrdy7g9xDh1Oye9DCSrGZdUu80=; b=g/bC1Knys/y4h9eF/ka7YsmOax/lgbbQQEYnvr36rWjDSvG+vqDylYzcQg8ttwLRGJ 3sT4dPxDhm0m+RRAY2/PFa2+QixeON4w3eiQBaFSg8C/KgsT8xrjiKdGUtxCLsJHPKzl RC9RE7ROEGmVXuYt5+itbzMBVmtcO+yH98n1X9YH14KZHVt1yFvoD6OyDDpzluFRMJB6 PJ+wz886OJyTEHB+3q2QkJ8y8OmVfRS7WO9CHhZtDWLo+kBmtWiywAyntw09Ino0e1BD M89e6dHGPm04Ozn9bshxxSEPtPhWDgLxDJBHBLsNQjMbOjrsifGe/9IdVWUXhq40kKR2 WxlQ== 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 c67si87215oib.276.2020.02.27.08.23.06; Thu, 27 Feb 2020 08:23:22 -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 S1730038AbgB0QXB (ORCPT + 99 others); Thu, 27 Feb 2020 11:23:01 -0500 Received: from mga02.intel.com ([134.134.136.20]:59402 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729854AbgB0QXB (ORCPT ); Thu, 27 Feb 2020 11:23:01 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Feb 2020 08:23:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,492,1574150400"; d="scan'208";a="317834202" Received: from mchodson-mobl.ger.corp.intel.com (HELO localhost) ([10.252.26.84]) by orsmga001.jf.intel.com with ESMTP; 27 Feb 2020 08:22:58 -0800 Date: Thu, 27 Feb 2020 18:22:57 +0200 From: Jarkko Sakkinen To: Sergiu Cuciurean Cc: gregkh@linuxfoundation.org, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, peterhuewe@gmx.de, jgg@ziepe.ca, arnd@arndb.de Subject: Re: [PATCH v2] tpm: tpm_tis_spi_cr50: use new structure for SPI transfer delays Message-ID: <20200227162257.GE5140@linux.intel.com> References: <20200226114347.27126-1-sergiu.cuciurean@analog.com> <20200227080339.6910-1-sergiu.cuciurean@analog.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200227080339.6910-1-sergiu.cuciurean@analog.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo 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 Thu, Feb 27, 2020 at 10:03:39AM +0200, Sergiu Cuciurean wrote: > In a recent change to the SPI subsystem [1], a new `delay` struct was added > to replace the `delay_usecs`. This change replaces the current > `delay_usecs` with `delay` for this driver. > > The `spi_transfer_delay_exec()` function [in the SPI framework] makes sure > that both `delay_usecs` & `delay` are used (in this order to preserve > backwards compatibility). > > [1] commit bebcfd272df6 ("spi: introduce `delay` field for > `spi_transfer` + spi_transfer_delay_exec()") > > Signed-off-by: Sergiu Cuciurean Reviewed-by: Jarkko Sakkinen /Jarkko