summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2010-11-23 02:12:16 +0100
committerSebastian Andrzej Siewior <bigeasy@linutronix.de>2010-12-01 13:48:30 +0100
commitd0777f2c3eda180e3fc549e0efbe741014f17689 (patch)
tree498b83ed879789d6424c9f74bcc1e8c67c20de45 /drivers/spi
parentspi/pxa2xx: Add CE4100 support (diff)
downloadlinux-d0777f2c3eda180e3fc549e0efbe741014f17689.tar.xz
linux-d0777f2c3eda180e3fc549e0efbe741014f17689.zip
spi/pxa2xx: Consider CE4100's FIFO depth
For PXA the default threshold is FIFO_DEPTH / 2. Adjust this value for CE4100. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Dirk Brandewie <dirk.brandewie@gmail.com>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/pxa2xx_spi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/pxa2xx_spi.c b/drivers/spi/pxa2xx_spi.c
index ed212c2583ab..81cfbbc58e94 100644
--- a/drivers/spi/pxa2xx_spi.c
+++ b/drivers/spi/pxa2xx_spi.c
@@ -43,8 +43,6 @@ MODULE_ALIAS("platform:pxa2xx-spi");
#define MAX_BUSES 3
-#define RX_THRESH_DFLT 8
-#define TX_THRESH_DFLT 8
#define TIMOUT_DFLT 1000
#define DMA_INT_MASK (DCSR_ENDINTR | DCSR_STARTINTR | DCSR_BUSERR)