aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorRob Maris <maris.rob@vdi.de>2010-04-06 00:17:08 -0400
committerMike Frysinger <vapier@gentoo.org>2010-10-18 02:49:42 -0400
commite72dcde72c712708e2145ab0ecff539ff4a4c7fb (patch)
tree707252fd940a2c254f134e08c5358fa42b0560e8 /drivers/spi
parente35954053c1a2ede37f6ed1b28d626dba43dc79d (diff)
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)
668 write_BAUD(drv_data, chip->baud); 668 write_BAUD(drv_data, chip->baud);
669 669
670 write_STAT(drv_data, BIT_STAT_CLR); 670 write_STAT(drv_data, BIT_STAT_CLR);
671 if (drv_data->cs_change) 671 bfin_spi_cs_active(drv_data, chip);
672 bfin_spi_cs_active(drv_data, chip);
673 672
674 dev_dbg(&drv_data->pdev->dev, 673 dev_dbg(&drv_data->pdev->dev,
675 "now pumping a transfer: width is %d, len is %d\n", 674 "now pumping a transfer: width is %d, len is %d\n",