summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorRob Maris <maris.rob@vdi.de>2010-04-06 04:17:08 +0000
committerMike Frysinger <vapier@gentoo.org>2010-10-18 02:49:42 -0400
commite72dcde72c712708e2145ab0ecff539ff4a4c7fb (patch)
tree707252fd940a2c254f134e08c5358fa42b0560e8 /drivers/spi
parente35954053c1a2ede37f6ed1b28d626dba43dc79d (diff)
downloadblackbird-op-linux-e72dcde72c712708e2145ab0ecff539ff4a4c7fb.tar.gz
blackbird-op-linux-e72dcde72c712708e2145ab0ecff539ff4a4c7fb.zip
spi/bfin_spi: cs should be always low when a new transfer begins
Signed-off-by: Rob Maris <maris.rob@vdi.de> Signed-off-by: Barry Song <barry.song@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi_bfin5xx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/spi/spi_bfin5xx.c b/drivers/spi/spi_bfin5xx.c
index 550aaf70cb2d..7882afcd580f 100644
--- a/drivers/spi/spi_bfin5xx.c
+++ b/drivers/spi/spi_bfin5xx.c
@@ -668,8 +668,7 @@ static void bfin_spi_pump_transfers(unsigned long data)
write_BAUD(drv_data, chip->baud);
write_STAT(drv_data, BIT_STAT_CLR);
- if (drv_data->cs_change)
- bfin_spi_cs_active(drv_data, chip);
+ bfin_spi_cs_active(drv_data, chip);
dev_dbg(&drv_data->pdev->dev,
"now pumping a transfer: width is %d, len is %d\n",
OpenPOWER on IntegriCloud