From: Semih Hazar Date: Wed, 23 May 2007 03:35:12 +0000 (-0400) Subject: Input: ads7846 - SPI_CPHA mode bugfix X-Git-Tag: v2.6.22-rc3~92^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=230ffc8e348e7841b79fd7c659d16aa5d7ec8a69;p=pandora-kernel.git Input: ads7846 - SPI_CPHA mode bugfix In commit [1] the SPI mode is set to 1, but it should be 0. As stated in the commit, ads784x samples the data on the rising edge. SPI mode 1 samples on the falling edge [2] though. The root cause of this is a bug in the omap_uwire code, which treats CPHA=1 incorrectly; so these two bugs cancel each other out on one of the main regression test platforms for this driver. [1] kernel.org GIT 7937e86a70235e1584486654687dc9908a11e00a [2] http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus Signed-off-by: David Brownell Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed