Skip to contentSkip to conversation

omap_uwire: Remove handling of SPI_LSB_FIRST

PATCH In review Imre Deak 2 participants 2 messages May 12, 2006 SPI

lore
Share & tools
lore

Imre Deak

author
#0 lore raw

PATCH 1/1 omap_uwire: Remove handling of SPI_LSB_FIRST

omap_uwire: fix to build by removing handling of SPI_LSB_FIRST

The handling of the flag is included properly in an upcoming SPI patch by David Brownell.

---

 drivers/spi/omap_uwire.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

e8fe4c03399c90c4119b985bda19da878a8ab476

drivers/spi/omap_uwire.c +0 -6
index 97a1846..39e8227 100644
@@ -317,12 +317,6 @@ static int uwire_setup(struct spi_device
 		goto done;
 	}
 
-	if (spi->mode & SPI_LSB_FIRST) {
-		pr_debug("%s: lsb first?\n", spi->dev.bus_id);
-		status = -EINVAL;
-		goto done;
-	}
-
 	/* mode 0..3, clock inverted separately;
 	 * standard nCS signaling;
 	 * don't treat DI=high as "not ready"
Signature · 1 line
1.2.3.g90cc1-dirty
#1 lore raw
Quoted 35 lines · Imre Deak

omap_uwire: fix to build by removing handling of SPI_LSB_FIRST

The handling of the flag is included properly in an upcoming SPI patch by David Brownell.

---

 drivers/spi/omap_uwire.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

e8fe4c03399c90c4119b985bda19da878a8ab476

drivers/spi/omap_uwire.c +0 -6
index 97a1846..39e8227 100644
@@ -317,12 +317,6 @@ static int uwire_setup(struct spi_device
 		goto done;
 	}
 
-	if (spi->mode & SPI_LSB_FIRST) {
-		pr_debug("%s: lsb first?\n", spi->dev.bus_id);
-		status = -EINVAL;
-		goto done;
-	}
-
 	/* mode 0..3, clock inverted separately;
 	 * standard nCS signaling;
 	 * don't treat DI=high as "not ready"
Signature · 1 line
1.2.3.g90cc1-dirty

Pushing today.

Tony