net/libertas: make SPI interface big endian aware
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 22 May 2009 19:19:40 +0000 (21:19 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 3 Jun 2009 18:05:08 +0000 (14:05 -0400)
commitf488b72de5bb2f380c157135922bac3ca1648564
tree768c233de807f1f0026cf17368e3feb11671d066
parent55aa4e0f16aa55e4b8cbe40b11e09cf029848f02
net/libertas: make SPI interface big endian aware

The comment (which I remove) says that the translation is done SPI routines.
IMHO this can't work because the SPI driver does not know whether the incomming
bytes are part of the registers/bytes which need to be flipped or part of
packet data which has to remain untouched.
While adding le helpers I also removed spu_write_u32() which has no users.

Tested-by: Andrey Yurovsky <andrey@cozybit.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/if_spi.c