Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp349201pxu; Fri, 11 Dec 2020 04:00:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJwHDC60ey/tvpezZCbX9r/QrUjLDk+yhC2iwdNDdodlNNPPDZsz/CyKoIcAbhCtx4OZmfaw X-Received: by 2002:a17:906:2445:: with SMTP id a5mr1137701ejb.330.1607688002670; Fri, 11 Dec 2020 04:00:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607688002; cv=none; d=google.com; s=arc-20160816; b=j5Wmqvc/0dazaaJ0MhwVeADrtRv8fFWUYAyJ/32kIhhXPl2kiGkNyk2DhU9/RO/s/W 1uLCYBN07gPxnsaIIZOYXVvrlUuNnVDe1BtGDUqreElZC0hU/1Km1HBbQOz+FEsd856q Z3uets7RnIs7MaCV7HwCS7MstHy2qWUXcPdkM5mH5R9sEfoPO54dsmrudu4j5bMZACgP 6pACaPo9vdo0abQYm2pmQez+4ueV4KJZMGUdYcMYosZRw7tfaARKfGy2fvl2uPzfHM5A ObGxJgfvRpK8ITefVHEIJaTnRwrszDp33aglTcZSe9KnXru+8JcYgUfZr2sKM7PkQjun +zlQ== 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:dkim-signature; bh=uV1GMqxxjLGuIof3Wd+THXRGUiu2LiAkskInQDZ/1Bs=; b=Gj6zmbD1IpPsA1ar3JMG+Q85As3mB1eQ0fxR8KrwQi8/L7HFKbPhnbAaQJlkxZw1rz X3obIgG6vrM4Wn4inTZCNm8MUujS7exZ7XR4ssrOU7DJMBz2rhWwzh6m/FXk2WZFM69d ChgWH9hYsU3shYoboVCUKHbBI4kyHTvw864L1h7ZW2Aasm+MJ9RhDs2RdpUBpTnQZeHc /wlzJEWkNLYVBnD1tCVu1UDwTBnqssGwJsnD0r5l6BuSV6bg7KYk/VE2fTNrZH9eAQLs 6rSTgZ/a3Yue+KNzP6TQ1twkGxmTbiQmvEOFFooe/nvKESe2v8zzKtDIycIVmPscRmVt lEaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PQZuYj2X; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f8si4567197edc.529.2020.12.11.03.59.40; Fri, 11 Dec 2020 04:00:02 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PQZuYj2X; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2395435AbgLKF6e (ORCPT + 99 others); Fri, 11 Dec 2020 00:58:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729517AbgLKF6c (ORCPT ); Fri, 11 Dec 2020 00:58:32 -0500 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D49AC0613D3; Thu, 10 Dec 2020 21:57:52 -0800 (PST) Received: by mail-pf1-x441.google.com with SMTP id w6so6356757pfu.1; Thu, 10 Dec 2020 21:57:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=uV1GMqxxjLGuIof3Wd+THXRGUiu2LiAkskInQDZ/1Bs=; b=PQZuYj2XHQyRAnN2A7lcEIUuEV24Z+QAHRdPN5cyeJc8kE/ucTD8heu0G9k69jiLdd pcF5PQTzoLCsw/6tWiEBgeTh8CEGr6DASJR8hC3IUra+u4qt9CH4zcRMYpSf6jQXWbXw uiuWzBCAluqlB7+V2PFeyOqDXKwt9OMY8EVzUjR6pqytEbVUy7Ywuhj1CrqzImHSK6I1 bXqzdvCKO0HNhBQdzsac28nk+Ax6F5lRtkVEyTQSBQnmKGbAVjO0x8E+YQLAzPMzBDGP tijlLpzvX4bR4A9yw3L2YV/dgebs6yTf+RfZd92y96ujU5KesjhON3WyjygwBKLf1AGf 04lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=uV1GMqxxjLGuIof3Wd+THXRGUiu2LiAkskInQDZ/1Bs=; b=nAB3dq8L0tXo+XMbv4JTUg+T1k5qWxUHbU9oVFOhSlYu6tfNdykc128ebcFnkYs2fX lkVXNiMApHPiXfxA0+BCF69gCbvPXXjS9yJ4vk5KkiPKpGreZjCHOT3xCkeztgEKDKqO PiNO4BswBjV5btDuBnnLDnglCd518RfhoGzNt2Daw6PHm40HIFHDypgBClPjBlGUrEvv 1S1kGUZrKqTk38ijaCOqbe/nr2qsFKxu1HDKWilUtq+CQEuIF3cQedg5Eg64V25M8s6N 1muDaIU/xqL5y035Tg1q0sAOhdOelBdBcZo/6po8F4BPfCB8CVQskInaPD57OGfw2/QE DguA== X-Gm-Message-State: AOAM531V0o5u+Y4OmprgCpNhAkzEtvWyplR565u52vKtES+elmLTE5kq aJFlAPkZvPUVW+LtOJTR9tw= X-Received: by 2002:a62:2f87:0:b029:19e:75f0:cf08 with SMTP id v129-20020a622f870000b029019e75f0cf08mr10256464pfv.6.1607666271791; Thu, 10 Dec 2020 21:57:51 -0800 (PST) Received: from google.com ([2620:15c:202:201:a6ae:11ff:fe11:fcc3]) by smtp.gmail.com with ESMTPSA id c10sm9367696pfj.54.2020.12.10.21.57.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Dec 2020 21:57:51 -0800 (PST) Date: Thu, 10 Dec 2020 21:57:48 -0800 From: Dmitry Torokhov To: Sergiu Cuciurean Cc: linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, nikolas@gnu.org, gregkh@linuxfoundation.org, ronald@innovation.ch, andriy.shevchenko@linux.intel.com, maowenan@huawei.com Subject: Re: [PATCH] input: keyboard: applespi: Use new structure for SPI transfer delays Message-ID: References: <20200227124534.23399-1-sergiu.cuciurean@analog.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200227124534.23399-1-sergiu.cuciurean@analog.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 27, 2020 at 02:45:34PM +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 Applied, thank you. -- Dmitry