Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1807728pxb; Mon, 8 Mar 2021 06:57:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJzdMApc2lQ2AZXNJtJuIYNmJT2UDcaBWkoDpNeX3NfkYq+JPbRqLrUIk0KskRnxhlPWVro4 X-Received: by 2002:a17:906:ecfb:: with SMTP id qt27mr14995290ejb.245.1615215421075; Mon, 08 Mar 2021 06:57:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615215421; cv=none; d=google.com; s=arc-20160816; b=J50vyl0iYrpF/0iiXHG6sxULAEBr0eUeY+yju1Wtf0zbwbtci83VQaZfyxCPoNz3Wg ELw9frm6KvOdOhxKwJOdsBt1En1ZIumjgPhcGUALY8sFN7rVbTPjG5+Wb9LO3EpgdEIc vUY14UzZjVgTI63MEbwYlaGklz0yRtyJ4Va3jdn5pxKabCmSCUqoUPAIkz3vgUJ1j3Tj ubD4/KYbmxh05GtppcOZoxIwq0fApCwhqSnJH5IymGjky54FW0vCB6vN5q32/jTILdOX GisW94zeyp7XMmrB1ZPK63G29AfxUair7EYIaWgpzJbQjMSpCBkfNB2R9bPUpylmPji7 gOGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=K1kerxlBQXsnkBW66DYRSLvt3f+bVaEYRPTXorPAb2o=; b=yTgG1TBhN8FfRNNaYR07MMaPMpJdCE1loDs6aqqgej87uPVRPolLqH3p6Gjx5CxuIv Xbt88ZmbFFknlfWhIMTTnBG9cQS+lWOYOVi1sFsJIyzNJBDZk4ztsZGIapQYI5gxtQkC sVlFu+QYSaMQH7q/Of5bypxC8n7zWBpfLgNzaIvgzF/gKeh5SYzvzzK0pRqgPkvKfJQl IFFiI/NFXrRzaJPjSiA701QSKSfxW0dg7VIUZOlIawuUR4X+F9pGvZBqCgUnyRWTLXLI yz8P5pBvJh3xlBllZ35TVAYVAjyfOZg3moid1uonnsw2a/3WMnZDbCnx2xGpX+5/Fyb6 juDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@deviqon.com header.s=google header.b=rFtmC2lX; 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=NONE dis=NONE) header.from=deviqon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r9si7118624ejx.201.2021.03.08.06.56.37; Mon, 08 Mar 2021 06:57:01 -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=@deviqon.com header.s=google header.b=rFtmC2lX; 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=NONE dis=NONE) header.from=deviqon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231388AbhCHOzl (ORCPT + 99 others); Mon, 8 Mar 2021 09:55:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230521AbhCHOzb (ORCPT ); Mon, 8 Mar 2021 09:55:31 -0500 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B433C061764 for ; Mon, 8 Mar 2021 06:55:29 -0800 (PST) Received: by mail-ed1-x534.google.com with SMTP id h10so15164955edl.6 for ; Mon, 08 Mar 2021 06:55:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=deviqon.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=K1kerxlBQXsnkBW66DYRSLvt3f+bVaEYRPTXorPAb2o=; b=rFtmC2lX9bx1OJQsukKFxbVFYmys8q4JZilYPWNowCRpc+e/TA9cZqZuTTmo16QaR3 Zts0P3qeGkvIV/+kY5d/R0/Gw7urqV7JEVAcqMz4uNzUhyurQ0hxY1RtoW1q0pXyENR2 w2LLt4h6lI238BNd0PG6+9Q0us3AzZyEyTMu6vptP6nzK+wfcPqaXSegsOW7yGGHWTs4 vqBks9FDZgZ3wwSatAgxdylkY+t4TBwvAV4tOIZ6nmLIL5Gc8pNQrKR+rl0KStooCfyt 28nw+vmJGXOmQBlF/aBAwnrusLCaNg8aOw8HMdOocFZq4TxTqx7MmHm2sHqz19j4+89R kvbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=K1kerxlBQXsnkBW66DYRSLvt3f+bVaEYRPTXorPAb2o=; b=r10WcRYE+uyaodymo99Br9izCQQpWiGK1wY0vFr6P3jfuQxuWomIvUs/VbW/5lZqPH dojQfyEYTINB0HK09n6Hut1X3cd4twBO+oLX2EHEhXp2L7AQY88XSR9IIjVlf9CSCYMz OjC3hWlsf2X9Ftx3h5uSlQKBbhmG6fjC+rmp4ENJp+dtrZFIKGWZTuzPL/LRwpA6gtuT 750nDfTrmY8eBrPcUSafSUUDZpxHH5ksDBRWzNaNo8lyjRnXzLgF+II0YTgLe+pJm6li exQirAUbfu3LSR/uo9W/V3+ONB/vLikO06AGxNq/PF6gX89XtNVlesKpL4nYtRgDPjUq bLHQ== X-Gm-Message-State: AOAM533fdMctsKwGpLenakjz3SybkUlTUIuD2CEHUJhdzFqKy5AEA2az XOeZCNHdRhk94m92evijMl7vAw== X-Received: by 2002:a50:e0c3:: with SMTP id j3mr23091988edl.32.1615215328449; Mon, 08 Mar 2021 06:55:28 -0800 (PST) Received: from localhost.localdomain ([5.2.193.191]) by smtp.gmail.com with ESMTPSA id bt14sm7411234edb.92.2021.03.08.06.55.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Mar 2021 06:55:28 -0800 (PST) From: Alexandru Ardelean To: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, greybus-dev@lists.linaro.org, devel@driverdev.osuosl.org, linux-tegra@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com Cc: broonie@kernel.org, gregkh@linuxfoundation.org, elder@kernel.org, johan@kernel.org, vireshk@kernel.org, rmfrfs@gmail.com, f.fainelli@gmail.com, ldewangan@nvidia.com, thierry.reding@gmail.com, jonathanh@nvidia.com, linux@deviqon.com, Alexandru Ardelean Subject: [PATCH 02/10] spi: bcm63xx-spi: don't check 'delay_usecs' field Date: Mon, 8 Mar 2021 16:54:54 +0200 Message-Id: <20210308145502.1075689-3-aardelean@deviqon.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210308145502.1075689-1-aardelean@deviqon.com> References: <20210308145502.1075689-1-aardelean@deviqon.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The 'delay_usecs' field was handled for backwards compatibility in case there were some users that still configured SPI delay transfers with this field. They should all be removed by now. Signed-off-by: Alexandru Ardelean --- drivers/spi/spi-bcm63xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-bcm63xx.c b/drivers/spi/spi-bcm63xx.c index d08bb7600150..80fa0ef8909c 100644 --- a/drivers/spi/spi-bcm63xx.c +++ b/drivers/spi/spi-bcm63xx.c @@ -369,7 +369,7 @@ static int bcm63xx_spi_transfer_one(struct spi_master *master, } /* CS will be deasserted directly after transfer */ - if (t->delay_usecs || t->delay.value) { + if (t->delay.value) { dev_err(&spi->dev, "unable to keep CS asserted after transfer\n"); status = -EINVAL; goto exit; -- 2.29.2