From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 971F2C2D0CD for ; Tue, 17 Dec 2019 12:06:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 77A2A20733 for ; Tue, 17 Dec 2019 12:06:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727764AbfLQMG2 (ORCPT ); Tue, 17 Dec 2019 07:06:28 -0500 Received: from mga18.intel.com ([134.134.136.126]:46177 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726747AbfLQMG2 (ORCPT ); Tue, 17 Dec 2019 07:06:28 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Dec 2019 04:06:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,325,1571727600"; d="scan'208";a="221746459" Received: from pbroex-mobl1.ger.corp.intel.com ([10.251.85.107]) by fmsmga001.fm.intel.com with ESMTP; 17 Dec 2019 04:06:24 -0800 Message-ID: <9991700815c02b3227a5902e4cae1afe5200b0ff.camel@linux.intel.com> Subject: Re: [PATCH V3] tpm_tis_spi: use new 'delay' structure for SPI transfer delays From: Jarkko Sakkinen To: Alexandru Ardelean , linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org Cc: gregkh@linuxfoundation.org, peterhuewe@gmx.de, jgg@ziepe.ca, arnd@arndb.de In-Reply-To: <20191217091615.12764-1-alexandru.ardelean@analog.com> References: <20191204080049.32701-1-alexandru.ardelean@analog.com> <20191217091615.12764-1-alexandru.ardelean@analog.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 17 Dec 2019 14:04:29 +0200 User-Agent: Evolution 3.34.1-2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2019-12-17 at 11:16 +0200, Alexandru Ardelean 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 bebcfd272df6485 ("spi: introduce `delay` field for > `spi_transfer` + spi_transfer_delay_exec()") > > Signed-off-by: Alexandru Ardelean Reviewed-by: Jarkko Sakkinen /Jarkko