[alsa-devel] [PATCH 7/8] ASoC: Add SPI support for WM8731

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Sep 8 15:52:01 CEST 2008

On Thu, Sep 04, 2008 at 11:48:29AM +0100, Alan Horstmann wrote:

> I assume that spi_transfer sends bytes in order, from the tx_buf position, and 
> it seems clear that data[0] is the high byte that should go first.  As msg[2] 
> is u16 (why?), I would have thought that the byte at &msg[0] would be the low 
> byte on LE, high byte on BE so it would only be correct on BE.

Your analysis makes sense to me.

> Changing the code to use 


> fixes the problem here.

Could you supply a patch, please?

More information about the Alsa-devel mailing list