summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi_bfin5xx.c
diff options
context:
space:
mode:
authorRob Maris <maris.rob@vdi.de>2010-04-06 06:17:08 +0200
committerMike Frysinger <vapier@gentoo.org>2010-10-18 08:49:42 +0200
commite72dcde72c712708e2145ab0ecff539ff4a4c7fb (patch)
tree707252fd940a2c254f134e08c5358fa42b0560e8 /drivers/spi/spi_bfin5xx.c
parentspi/bfin_spi: fix typo in comment (diff)
downloadlinux-e72dcde72c712708e2145ab0ecff539ff4a4c7fb.tar.xz
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/spi_bfin5xx.c')
-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",