Title: [6945] branches/2009R1/drivers/spi/spi_bfin5xx.c: [#5315] awg test fails to show the generated wave on the oscilloscope: Dont deactivate cs while in autobuffer dma mode
- Revision
- 6945
- Author
- hennerich
- Date
- 2009-07-08 06:11:55 -0500 (Wed, 08 Jul 2009)
Log Message
[#5315] awg test fails to show the generated wave on the oscilloscope: Dont deactivate cs while in autobuffer dma mode
Modified Paths
Diff
Modified: branches/2009R1/drivers/spi/spi_bfin5xx.c (6944 => 6945)
--- branches/2009R1/drivers/spi/spi_bfin5xx.c 2009-07-08 02:53:07 UTC (rev 6944)
+++ branches/2009R1/drivers/spi/spi_bfin5xx.c 2009-07-08 11:11:55 UTC (rev 6945)
@@ -522,7 +522,7 @@
msg->state = NULL;
- if (!drv_data->cs_change)
+ if (!drv_data->cs_change && drv_data->tx_dma != 0xFFFF)
bfin_spi_cs_deactive(drv_data, chip);
/* Not stop spi in autobuffer mode */
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits