diff options
author | James Maki <jmaki@multitech.com> | 2010-09-16 12:10:31 -0500 |
---|---|---|
committer | James Maki <jmaki@multitech.com> | 2010-09-16 12:10:31 -0500 |
commit | ffc136c90d46b865287b474136c7b1c974997e5f (patch) | |
tree | 7c793ff7c89f8d8cf6a8898a13039a08d658f95b | |
parent | 2c42aa01873002e3ab20d2b7d8bb091c326d0219 (diff) | |
download | cdp-io-controller-ffc136c90d46b865287b474136c7b1c974997e5f.tar.gz cdp-io-controller-ffc136c90d46b865287b474136c7b1c974997e5f.tar.bz2 cdp-io-controller-ffc136c90d46b865287b474136c7b1c974997e5f.zip |
the spi din should be SPI_CPOL
-rw-r--r-- | io-module/mts_io.c | 2 |
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) { |