diff mbox

SPI: Fix apparently reversed args to time_before().

Message ID alpine.LFD.2.00.1001011222400.24884@localhost (mailing list archive)
State Accepted
Headers show

Commit Message

Robert P. J. Day Jan. 1, 2010, 5:24 p.m. UTC
None
diff mbox

Patch

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;							\
 	})