aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rw-r--r--host/apps/omap_debug/clkgen-config.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/apps/omap_debug/clkgen-config.cc b/host/apps/omap_debug/clkgen-config.cc
index c21f54a60..70c63c6e8 100644
--- a/host/apps/omap_debug/clkgen-config.cc
+++ b/host/apps/omap_debug/clkgen-config.cc
@@ -239,7 +239,7 @@ spidev::spidev(std::string fname)
int ret;
int mode = 0;
int speed = 12000000;
- int bits = 32;
+ int bits = 24;
fd = open(fname.c_str(), O_RDWR);
@@ -264,7 +264,7 @@ void spidev::send(char *buf, char *rbuf, unsigned int nbytes)
tr.len = nbytes;
tr.delay_usecs = 0;
tr.speed_hz = 12000000;
- tr.bits_per_word = 32;
+ tr.bits_per_word = 24;
ret = ioctl(fd, SPI_IOC_MESSAGE(1), &tr);