From patchwork Fri Jan 1 17:24:41 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Robert P. J. Day" X-Patchwork-Id: 70448 Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o01IPPRI023702 for ; Fri, 1 Jan 2010 18:25:25 GMT Received: from localhost ([127.0.0.1] helo=sfs-ml-1.v29.ch3.sourceforge.com) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1NQmBT-0004Tl-I4; Fri, 01 Jan 2010 18:25:11 +0000 Received: from sfi-mx-2.v28.ch3.sourceforge.com ([172.29.28.122] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from ) id 1NQmBS-0004Te-OQ for spi-devel-general@lists.sourceforge.net; Fri, 01 Jan 2010 18:25:10 +0000 Received-SPF: pass (sfi-mx-2.v28.ch3.sourceforge.com: domain of crashcourse.ca designates 64.235.106.9 as permitted sender) client-ip=64.235.106.9; envelope-from=rpjday@crashcourse.ca; helo=astoria.ccjclearline.com; Received: from astoria.ccjclearline.com ([64.235.106.9]) by sfi-mx-2.v28.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) id 1NQmBN-0008SY-75 for spi-devel-general@lists.sourceforge.net; Fri, 01 Jan 2010 18:25:10 +0000 Received: from cpe00142a336e11-cm001ac318e826.cpe.net.cable.rogers.com ([174.113.191.234] helo=crashcourse.ca) by astoria.ccjclearline.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NQlFU-00075w-Ix; Fri, 01 Jan 2010 12:25:16 -0500 Date: Fri, 1 Jan 2010 12:24:41 -0500 (EST) From: "Robert P. J. Day" X-X-Sender: rpjday@localhost To: Linux Kernel Mailing List Message-ID: User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - astoria.ccjclearline.com X-AntiAbuse: Original Domain - lists.sourceforge.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - crashcourse.ca X-Source: X-Source-Args: X-Source-Dir: X-Sender-Verify: failed, postmaster X-Spam-Score: -0.2 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.5 VA_SENDER_VERIFY_POSTMASTER Unable to Verify postmaster@domain.tld 3.4 FH_DATE_PAST_20XX The date is grossly in the future. -0.0 SPF_PASS SPF: sender matches SPF record -2.6 AWL AWL: From: address is in the auto white-list X-Headers-End: 1NQmBN-0008SY-75 Cc: spi-devel-general@lists.sourceforge.net Subject: [spi-devel-general] [PATCH] SPI: Fix apparently reversed args to time_before(). X-BeenThere: spi-devel-general@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: Linux SPI core/device drivers discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spi-devel-general-bounces@lists.sourceforge.net diff --git a/drivers/spi/spi_stmp.c b/drivers/spi/spi_stmp.c index 2552bb3..fadff76 100644 --- a/drivers/spi/spi_stmp.c +++ b/drivers/spi/spi_stmp.c @@ -76,7 +76,7 @@ struct stmp_spi { break; \ } \ cpu_relax(); \ - } while (time_before(end_jiffies, jiffies)); \ + } while (time_before(jiffies, end_jiffies)); \ succeeded; \ })