Patch should have the appended tweak. Given that:
Acked-by: David Brownell <[EMAIL PROTECTED]>
--- at91.orig/drivers/spi/atmel_spi.c 2008-04-29 16:19:44.000000000 -0700
+++ at91/drivers/spi/atmel_spi.c 2008-04-29 16:06:29.000000000 -0700
@@ -497,7 +497,7 @@ static int atmel_spi_setup(struct spi_de
struct atmel_spi *as;
u32 scbr, csr;
unsigned int bits = spi->bits_per_word;
- unsigned long bus_hz, sck_hz;
+ unsigned long bus_hz;
unsigned int npcs_pin;
int ret;
@@ -598,10 +598,9 @@ static int atmel_spi_setup(struct spi_de
spin_unlock_irqrestore(&as->lock, flags);
}
- sck_hz = bus_hz / scbr;
dev_dbg(&spi->dev,
"setup: %lu Hz bpw %u mode 0x%x -> csr%d %08x\n",
- sck_hz, bits, spi->mode, spi->chip_select, csr);
+ bus_hz / scbr, bits, spi->mode, spi->chip_select, csr);
spi_writel(as, CSR0 + 4 * spi->chip_select, csr);
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
spi-devel-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spi-devel-general