diff mbox

atmel_spi.c - let transfers through if not changing bits_per_word

Message ID 4CB5D566.2040301@gmail.com (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Matthias Brugger Oct. 13, 2010, 3:51 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/spi/atmel_spi.c b/drivers/spi/atmel_spi.c
index c4e0442..5c03a5b 100644
--- a/drivers/spi/atmel_spi.c
+++ b/drivers/spi/atmel_spi.c
@@ -654,6 +654,8 @@  static int atmel_spi_transfer(struct spi_device
*spi, struct spi_message *msg)
 	struct spi_transfer	*xfer;
 	unsigned long		flags;
 	struct device		*controller = spi->master->dev.parent;
+	u8			bits;
+	struct atmel_spi_device	*asd;

 	as = spi_master_get_devdata(spi->master);