Oops, I mean

-       unsigned n;     /* Number of bytes to send to the TX FIFO */
+       unsigned n;     /* Number of words to send to the TX FIFO */

and

-       n = t->len - espi->tx;  /* Total number of bytes waiting to be
-                                * sent to the TX FIFO for this transfer */
+       /* Number of words still to be sent to the TX FIFO */
+       n = (t->len - espi->tx) / (bits_per_word(espi) > 8 ? 2 : 1);

sorry about that.

    M

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
spi-devel-general mailing list
spi-devel-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

Reply via email to