summaryrefslogtreecommitdiff
path: root/io-module
diff options
context:
space:
mode:
authorJames Maki <jmaki@multitech.com>2010-09-16 12:10:31 -0500
committerJames Maki <jmaki@multitech.com>2010-09-16 12:10:31 -0500
commitffc136c90d46b865287b474136c7b1c974997e5f (patch)
tree7c793ff7c89f8d8cf6a8898a13039a08d658f95b /io-module
parent2c42aa01873002e3ab20d2b7d8bb091c326d0219 (diff)
downloadmts-io-ffc136c90d46b865287b474136c7b1c974997e5f.tar.gz
mts-io-ffc136c90d46b865287b474136c7b1c974997e5f.tar.bz2
mts-io-ffc136c90d46b865287b474136c7b1c974997e5f.zip
the spi din should be SPI_CPOL
Diffstat (limited to 'io-module')
-rw-r--r--io-module/mts_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io-module/mts_io.c b/io-module/mts_io.c
index c64fb3c..d98ed59 100644
--- a/io-module/mts_io.c
+++ b/io-module/mts_io.c
@@ -1574,7 +1574,7 @@ static int __devinit mts_spi_din_probe(struct spi_device *spi)
}
spi->max_speed_hz = 1 * 1000 * 1000;
- spi->mode = SPI_CPHA;
+ spi->mode = SPI_CPOL;
tmp = spi_setup(spi);
if (tmp < 0) {