ARM: 5678/1: SSP/SPI PL022 polarity terminology fix
authorLinus Walleij <linus.walleij@stericsson.com>
Sat, 15 Aug 2009 14:12:05 +0000 (15:12 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 18 Sep 2009 21:09:02 +0000 (22:09 +0100)
commitee2b805c8eb6459cf541ef141ff70dae17af59ca
treeca1e0f1988e71f2285ca336d88c5da2c5efa8c71
parenta2ca00ea9398265a26eabb358bba83c8b75c463d
ARM: 5678/1: SSP/SPI PL022 polarity terminology fix

The definition of the SPI clock phase for the Motorola mode of
the PL022 driver was incorrect: the spec had been interpreted as
data being recieved on rising or falling edge of the clocks while
the correct interpretation is that data can be recieved on the
first or second edge transition, falling or rising depending on
the polarity setting.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-u300/spi.c
drivers/spi/amba-pl022.c
include/linux/amba/pl022.h