From patchwork Sun May 24 02:13:42 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Welling X-Patchwork-Id: 6470921 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 66BA19F399 for ; Sun, 24 May 2015 02:18:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9D66020604 for ; Sun, 24 May 2015 02:18:13 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C3EBF205F1 for ; Sun, 24 May 2015 02:18:12 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YwLRF-0005c3-7Q; Sun, 24 May 2015 02:14:53 +0000 Received: from mail-ig0-x234.google.com ([2607:f8b0:4001:c05::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YwLQq-0005Wu-Dm for linux-arm-kernel@lists.infradead.org; Sun, 24 May 2015 02:14:32 +0000 Received: by igcau1 with SMTP id au1so14633294igc.1 for ; Sat, 23 May 2015 19:14:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZxQCnl5cJTA9X01HxAAMNh9lxCY/J0MCVTjbtJbc3MA=; b=TbxLSLu7WfMrnSXjU5vGTbJtBY5dsEvfUyIdA9Xklx6kfOLUOYStZTZcmCY/gWVXkB cV3+GEuUplTxRi71nW1+YwNrJa6jrUpVO6394puVUm2pq1mFN0QBYqcbevsHcjlbpzZP 2esZPYYzZhzjtw+WWoxeoe0sP60ILt4Kefr1Kt9BvS239BhYezOLcdWwTIud501RHO2O eQcQVrkoCOmvK6mfHvJvwaFe6JaMAU8NTCBFE1+heg80wbBsO7eAjTVPZ/ZoiJWu4tHG 1PX4Ijkq3AZmuqaMt01FPbz6fZsPc0L2Izo8uTSQcXxfKTre7NdcU30S3YcDDkkEFwZq Rh/g== X-Received: by 10.43.58.206 with SMTP id wl14mr5783924icb.36.1432433642899; Sat, 23 May 2015 19:14:02 -0700 (PDT) Received: from localhost.localdomain (74-84-113-14.client.mchsi.com. [74.84.113.14]) by mx.google.com with ESMTPSA id d15sm2847465igo.8.2015.05.23.19.14.01 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 23 May 2015 19:14:01 -0700 (PDT) From: Michael Welling To: broonie@kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-next@vger.kernel.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/4] spi: omap2-mcspi: Remove unnecessary delay Date: Sat, 23 May 2015 21:13:42 -0500 Message-Id: <1432433625-23407-2-git-send-email-mwelling@ieee.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1432433625-23407-1-git-send-email-mwelling@ieee.org> References: <20150522122544.GL21391@sirena.org.uk> <1432433625-23407-1-git-send-email-mwelling@ieee.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150523_191428_538254_E27F58DD X-CRM114-Status: UNSURE ( 8.30 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.4 (/) Cc: Michael Welling X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The core spi driver handles the delay between transactions. This is a remanant from the transfer_one conversion. Signed-off-by: Michael Welling --- drivers/spi/spi-omap2-mcspi.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/spi/spi-omap2-mcspi.c b/drivers/spi/spi-omap2-mcspi.c index a7d85c5..304b427 100644 --- a/drivers/spi/spi-omap2-mcspi.c +++ b/drivers/spi/spi-omap2-mcspi.c @@ -1163,9 +1163,6 @@ static int omap2_mcspi_work_one(struct omap2_mcspi *mcspi, } } - if (t->delay_usecs) - udelay(t->delay_usecs); - omap2_mcspi_set_enable(spi, 0); if (mcspi->fifo_depth > 0)