]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
fix SPI_CPHA related errors
authorDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 25 May 2007 00:36:10 +0000 (17:36 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 25 May 2007 00:36:10 +0000 (17:36 -0700)
commit6e10bf6362471845fbe603dff9ae2d435704647e
tree4a2233d7a3810427c9403bb466e146aba2f83417
parentcafb944dd8e8ba61a7fa2a3a4fcf289e58623dbf
fix SPI_CPHA related errors

The OMAP SPI controller drivers handle SPI_CPHA incorrectly.
It should mean:

  CPHA=0 ... sample at leading edge of clock
  CPHA=1 ... sample at trailing edge of clock

This fixes them, and the protocol drivers which depended on the wrong
meaning.  Separate ads7846 and omap_uwire patches are going upstream,
already since those drivers were already pushed there.  The tsc2102
code already had this right ... strange.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Kevin Hilman <khilman@mvista.com>
drivers/input/touchscreen/tsc2046_ts.c
drivers/spi/omap2_mcspi.c
drivers/spi/tsc2101.c
drivers/spi/tsc2301-core.c