![](https://secure.gravatar.com/avatar/d28dfe03ea754ea1153719f4ced12649.jpg?s=120&d=mm&r=g)
6 Oct
2010
6 Oct
'10
5:19 p.m.
On Wed, Oct 06, 2010 at 04:24:18PM +0200, Takashi Iwai wrote:
Yeah, I don't say it's buggy. But it's wrong from a programming POV. The proper endianess handling seems missing in the current code...
I'll need to have a proper look and think but endianness handling for SPI is somewhat amusing - SPI is natually big endinan so controllers on little endian architectures do a byte swap to send, but only when they run in word oriented mode. If the word size is 8 bits they don't need to.