]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ARM: OMAP: omap_uwire byteswap bugfix
authorDavid Brownell <dbrownell@users.sourceforge.net>
Wed, 3 May 2006 12:12:56 +0000 (05:12 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 3 May 2006 12:12:56 +0000 (05:12 -0700)
commit0b50a2170328c2f1057e20889f3936a4ee43a80c
treebef1ddc8c06dfee318f5d7a3e3b66fe5e47cc6f9
parent9d1ca153f415065710d1a07ca42e9503631ad0b2
[PATCH] ARM: OMAP: omap_uwire byteswap bugfix

Get rid of broken optimization in MicroWire driver:  don't try to morph
consecutive single-byte operations into one (faster) two-byte operation.
This resolves some byteswap problems.  (And consequently allows fixing
some bugs in at least the OMAP version of the ads7846 driver...)

Also, reject LSB-first device modes; this controller doesn't support them.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/spi/omap_uwire.c